Skip to content

Copy paket exe to cwd on init - #853

Merged
forki merged 7 commits into
fsprojects:masterfrom
Bomret:copy-paket-exe-to-cwd-on-init
Jun 2, 2015
Merged

forki merged 7 commits into
fsprojects:masterfrom
Bomret:copy-paket-exe-to-cwd-on-init

Conversation

@Bomret

@Bomret Bomret commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

As discussed in Paket.Atom issue 14 Paket should download the paket.bootstrapper into the .paket dir on init. I created a new module Paket.Releases which handles downloading the latest versions of paket.exe, the bootstrapper and paket.targets.

Stefan Reichel and others added 5 commits June 1, 2015 18:38
Renamed DownloadAssemblies to Releases and added functions to download
bootstrapper, bootstrapper and targets and a custom list of files.
@forki

forki commented Jun 2, 2015

Copy link
Copy Markdown
Member

/cc @theimowski could you please take a short look?

Comment thread src/Paket.Core/Releases.fs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move this into the Constants module

@theimowski

Copy link
Copy Markdown
Member

apart from the comments, LGTM

Stefan Reichel added 2 commits June 2, 2015 17:41
Renamed notExistsOrIsNewer to doesNotExistOrIsNewer (it was late last
night ;))
@Bomret

Bomret commented Jun 2, 2015

Copy link
Copy Markdown
Contributor Author

I moved the URLs and other stuff into the Constants module and added comments on the functions. @theimowski what exactly did you mean by "inline these and above functions"? Remove the downloadLatestBootstrapper* functions and only call downloadLatestVersionOf?

@forki

forki commented Jun 2, 2015

Copy link
Copy Markdown
Member

I think he meant, that you just remove the functions and use the code directly without a separate function

@Bomret

Bomret commented Jun 2, 2015

Copy link
Copy Markdown
Contributor Author

But this would be unnecessary duplication? The way it is now the downloadLatestVersionOf function can be used to easily extend the functionality of the module later for other files.

@forki

forki commented Jun 2, 2015

Copy link
Copy Markdown
Member

Ok. Thanks a lot
On Jun 2, 2015 20:22, "Stefan Reichel" [email protected] wrote:

But this would be unnecessary duplication? The way it is now the
downloadLatestVersionOf function can be used to easily extend the
functionality of the module later for other files.

—
Reply to this email directly or view it on GitHub
#853 (comment).

@Bomret

Bomret commented Jun 2, 2015

Copy link
Copy Markdown
Contributor Author

And both other functions are used in the publicAPI module. Or do I still get it wrong?

forki added a commit that referenced this pull request Jun 2, 2015
@forki
forki merged commit a9ea4aa into fsprojects:master Jun 2, 2015
@forki

forki commented Jun 2, 2015

Copy link
Copy Markdown
Member

thx. released in 1.10

@theimowski

Copy link
Copy Markdown
Member

Ok nvmd, I've not looked at the call sites for those functions - they just seemed extraordinary at first glance

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.

3 participants