-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(GH-14) alternative sources #40
Merged
ferventcoder
merged 29 commits into
chocolatey:master
from
ferventcoder:ticket/master/GH-14-alternative-sources
Jun 5, 2015
Merged
(GH-14) alternative sources #40
ferventcoder
merged 29 commits into
chocolatey:master
from
ferventcoder:ticket/master/GH-14-alternative-sources
Jun 5, 2015
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ferventcoder
changed the title
(GH-14) alternative sources
[DO NOT MERGE] (GH-14) alternative sources
Jan 22, 2015
ferventcoder
force-pushed
the
ticket/master/GH-14-alternative-sources
branch
3 times, most recently
from
January 25, 2015 20:30
e67b302
to
d3c1691
Compare
ferventcoder
force-pushed
the
ticket/master/GH-14-alternative-sources
branch
from
February 7, 2015 14:31
d3c1691
to
5311e82
Compare
ferventcoder
force-pushed
the
ticket/master/GH-14-alternative-sources
branch
from
May 21, 2015 06:08
5311e82
to
7fb1a30
Compare
ferventcoder
force-pushed
the
ticket/master/GH-14-alternative-sources
branch
3 times, most recently
from
June 4, 2015 15:54
40e4b05
to
a952058
Compare
Set the value for source type based what is passed in, default to normal.
Move remaining static `exec` method to instance method, recreate the static with the name `execute_static`.
This implements the WebPI alternate source. WebPI can install itself, list and install applications from WebPI. It does not implement the ability to upgrade or uninstall applications that it installs.
Add the source runners configuration
ChocolateyPackageService will determine based on the ISourceRunners it has in the list on ensuring that an app/tool is installed, and then use the correct source runner to perform all applicable ISourceRunner actions.
For each command that has run of a command that is listed in ISourceRunners, implement a check to ensure that the application that normally runs for that tool is installed.
When uninstalling from the special sources, those should be able to be specified.
The constants for WebPI Service are only used by WebPi Service, so there is no reason to put them and all of the other special source's arguments inside of ApplicationParameters. Move those over to the actual source service.
This implements list and install for Ruby Gems. It does not implement the ability to upgrade or uninstall applications that it installs.
- Add List - Add search by name - add install - add uninstall
Rename the registry service `value_exists` to `installer_value_exists` to clarify what it is doing.
When the process creates a window anyway, attempt to run it minimized.
Move all calls to `Assembly.GetExecutingAssembly().CodeBase` path to IFileSystem instead. The code to get the curent assembly path was in quite a few locations. This moves it down to one location.
Provide a way to determine if a command / executable is on the file system. It starts by getting the path extensions `PATHEXT` environment variable and using those extensions combined with the executable name (unless an extension is provided as part of the name) and searching for the file in all path locations, starting at current directory and moving out from there in the order things would be searched for by the system. If nothing is found, we just return the name that was passed into the method.
Get registry keys and values from the registry.
Provide the ability to install with cygwin, but not much else. The executable unfortunately doesn't also execute without popping a window, which is very unfortunate. I will probably look at using the cyg-get wrapper instead.
- Able to find pip, starting by finding python, then going to the registry to find python install location. - Able to install python if not found - Able to list packages - Able to install pacakges - Able to upgrade packages - Able to uninstall packages
ferventcoder
force-pushed
the
ticket/master/GH-14-alternative-sources
branch
from
June 4, 2015 22:37
5b975e2
to
45ed065
Compare
ferventcoder
changed the title
[DO NOT MERGE] (GH-14) alternative sources
(GH-14) alternative sources
Jun 4, 2015
this is awesome! are you going to merge this into mainstream master branch? if yes, can you expose planned date on a schedule? |
ferventcoder
added a commit
that referenced
this pull request
Jun 5, 2015
…ive-sources (GH-14) alternative sources
Milestones tend to serve as tentative schedules. |
This will be released as part of 0.9.10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #14