Skip to content
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

Conversation

ferventcoder
Copy link
Member

  • set up structure
  • webpi
  • ruby
  • python
  • cygwin
  • windowsfeature
  • packages.config can work with alternate sources

Closes #14

@ferventcoder ferventcoder changed the title (GH-14) alternative sources [DO NOT MERGE] (GH-14) alternative sources Jan 22, 2015
@ferventcoder ferventcoder force-pushed the ticket/master/GH-14-alternative-sources branch 3 times, most recently from e67b302 to d3c1691 Compare January 25, 2015 20:30
@ferventcoder ferventcoder force-pushed the ticket/master/GH-14-alternative-sources branch from d3c1691 to 5311e82 Compare February 7, 2015 14:31
@ferventcoder ferventcoder force-pushed the ticket/master/GH-14-alternative-sources branch from 5311e82 to 7fb1a30 Compare May 21, 2015 06:08
@ferventcoder ferventcoder force-pushed the ticket/master/GH-14-alternative-sources branch 3 times, most recently from 40e4b05 to a952058 Compare June 4, 2015 15:54
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 ferventcoder force-pushed the ticket/master/GH-14-alternative-sources branch from 5b975e2 to 45ed065 Compare June 4, 2015 22:37
@ferventcoder ferventcoder changed the title [DO NOT MERGE] (GH-14) alternative sources (GH-14) alternative sources Jun 4, 2015
@sitano
Copy link

sitano commented Jun 5, 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
@ferventcoder ferventcoder merged commit ad19d09 into chocolatey:master Jun 5, 2015
@ferventcoder ferventcoder deleted the ticket/master/GH-14-alternative-sources branch June 5, 2015 13:47
@ferventcoder
Copy link
Member Author

Milestones tend to serve as tentative schedules.

@ferventcoder
Copy link
Member Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative sources
2 participants