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

Make private pod repos support SVN/hg/etc #1747

Closed
swainet opened this issue Jan 15, 2014 · 10 comments
Closed

Make private pod repos support SVN/hg/etc #1747

swainet opened this issue Jan 15, 2014 · 10 comments
Labels
d1:easy An easy ticket that is a good start for first-time contributors s2:confirmed Issues that have been confirmed by a CocoaPods contributor

Comments

@swainet
Copy link

swainet commented Jan 15, 2014

I want create a private spec repo using an svn server. Is it possible?

@joshkalpin
Copy link
Member

I don't see why not, there is support for subversion inside of the cocoapods-downloader (See below).

https://github.com/CocoaPods/cocoapods-downloader/blob/master/lib/cocoapods-downloader/subversion.rb

@swainet
Copy link
Author

swainet commented Jan 15, 2014

@kapin , do u mean a spec file can set a subversion source for its pod.
I mean the spec repo itself.
U can use

$ pod repo add NAME SOURCE_URL

to add a private spec repo, but the SOURCE_URL must be a git repo. How can I use a svn source url?

@orta
Copy link
Member

orta commented Jan 15, 2014

To my knowledge, no.
Someone asked me this last weekend too. Could be an easy first step issue for someone. I've updated the main issue to make it more of an action.

@CocoaPodsBot
Copy link

Issue has been confirmed by @neonichu

@fabiopelosin
Copy link
Member

Currently there is no logic to handle it in CocoaPods and this keeps thing simple... Theoretically you can use an SVN repo... just pod repo add & pod repo update will not work.


I'm closing this until more comments prove there is actual demand for it as I don't consider it a required feature for CocoaPods. In the meanwhile I would recommend the development of a plugin (if there is any change needed in CP we can discuss it).

@BioLogisch
Copy link

I would like to see support for a mercurial private repo

@alloy
Copy link
Member

alloy commented Apr 9, 2014

It looks like somebody (@clarkda) already started on a SVN plugin: https://github.com/clarkda/cocoapods-repo-svn.

@BioLogisch As stated by @irrationalfab, atm this will not be in CP itself, but feel free to create a plugin, possibly by porting @clarkda’s work.

@dustywusty
Copy link
Contributor

Give me until tonight and I should have my HG plugin checked in. :)

@BioLogisch
Copy link

@clarkda
That would be nice.
Thank you.

@dehengxu
Copy link

dehengxu commented Jul 3, 2014

That's a great feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d1:easy An easy ticket that is a good start for first-time contributors s2:confirmed Issues that have been confirmed by a CocoaPods contributor
Projects
None yet
Development

No branches or pull requests

9 participants