Giter Site home page Giter Site logo

Comments (5)

mwallner avatar mwallner commented on August 20, 2024

That discussion is gone, however the issue seems to still exist.

I've just ran into the problem that Install-BoxstarterPackage does not use NugetSources from Boxstarter Config. (also checked that AppData\Roambing\Boxstarter - the version of Boxstarter that is being pushed to the remote host actually contains the correct boxstarter.config)

as far as I've seen there is no mechanism for handling this inside https://github.com/chocolatey/boxstarter/blob/master/Boxstarter.Chocolatey/Install-BoxstarterPackage.ps1 - maybe another/default config file is being used?
(will continue investigation...)

from boxstarter.

mwallner avatar mwallner commented on August 20, 2024

actually, Install-BoxstarterPackage.ps1 states the observed behavior..

 The .nupkg file for the provided package name is searched in the following locations and order:
 - .\BuildPackages relative to the parent directory of the module file
 - The Chocolatey community feed
 This can be configured by editing $($Boxstarter.BaseDir)\Boxstarter.Config

from boxstarter.

mwallner avatar mwallner commented on August 20, 2024

The "problem" seems to be the fact that the original Boxstarter.Chocolatey\Boxstarter.zip is being sent to the remote host - with the default boxstarter.config ..
I take this is probably intentional?=

from boxstarter.

mwallner avatar mwallner commented on August 20, 2024

alright - there seems to be a reason for this: when using Boxstarter to install on remote hosts (i.e. azure) - you probably won't be able to access an organization internal server .. so it makes sense to fallback to community repository + some packages on a "local feed" ..

@mwrock @ferventcoder @gep13 @pauby
If that's ok with you I'll put in a PR that adds another parameter -DelegateChocolatySources (we can talk about the name of that switch) in order to be able to pass the sources.

edit: actually it's DelegateChocoSources as of #320

from boxstarter.

pauby avatar pauby commented on August 20, 2024

This has been merged. Closing.

from boxstarter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.