Skip to content

Add GitHub sources in PublicAPI and CLI - #3023

Merged
forki merged 15 commits into
fsprojects:masterfrom
frelon:sources-in-publicapi
Mar 1, 2018
Merged

forki merged 15 commits into
fsprojects:masterfrom
frelon:sources-in-publicapi

Conversation

@frelon

@frelon frelon commented Feb 1, 2018

Copy link
Copy Markdown
Contributor

work in progress for implementing Git, GitHub, Gist and Http sources in CLI tool and PublicAPI

@enricosada

Copy link
Copy Markdown
Contributor

about cli, @forki @matthid what do you think?

paket git add .. // and list remove etc
paket github add ..
paket http add ..

like git remote?

add lot of cmd add-git remove-git etc is annoying

Asking because i'd like something like that for repotool too

@frelon

frelon commented Feb 21, 2018

Copy link
Copy Markdown
Contributor Author

@enricosada I changed the cli and added the functions in AddProcess etc. Now you can run

paket github add fsprojects/paket

and it generates the paket.dependencies and paket.lock file correctly. It also supports the version, file and group parameters.

@forki

forki commented Feb 21, 2018

Copy link
Copy Markdown
Member

so no longer WIP?
@matthid @enricosada can you please review?

@frelon

frelon commented Feb 21, 2018

Copy link
Copy Markdown
Contributor Author

I could clean up the empty functions AddHttp, AddGit etc if you want to merge only the Github-functionality.
Then it's no longer WIP, no.

@frelon frelon changed the title [WIP] Sources in PublicAPI and CLI Sources in PublicAPI and CLI Feb 22, 2018
@forki
forki requested a review from enricosada February 26, 2018 11:15
@frelon frelon changed the title Sources in PublicAPI and CLI Add GitHub sources in PublicAPI and CLI Feb 28, 2018
@forki

forki commented Mar 1, 2018

Copy link
Copy Markdown
Member

thanks!

@forki
forki merged commit 533d36e into fsprojects:master Mar 1, 2018
@frelon
frelon deleted the sources-in-publicapi branch March 1, 2018 19:46
Comment thread src/Paket/Commands.fs
member this.Usage =
match this with
| Add _ -> "add a new dependency"
| Github _ -> "commands to manipulate gihub repository references"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you please change gihub to GitHub?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Absolutely! Opened #3100 for this.

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.

4 participants