Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add `pod setup --with-push-access` #112

Closed
lukeredpath opened this Issue Feb 7, 2012 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

lukeredpath commented Feb 7, 2012

From the wiki regarding sharing pods:

Once you receive push acces, you will have to change your master spec-repo’s remote URL with:

$ cd ~/.cocoapods/master
$ git set-url master git@github.com:CocoaPods/Specs.git

It would be great if we can automate that so when users run pod setup (as above), the master spec repo is cloned using the private URL. If the user already has run setup, it just does the above set-url instead.

It's a little thing, but these things count.

Also see #51

Owner

alloy commented Feb 7, 2012

Fully agree.

We should also not change the URL on subsequent pod setup calls if it points to the private URL.

Contributor

lukeredpath commented Feb 7, 2012

Just followed the above example myself and it's not quite right. It should be git remote set-url origin URL. I'll update the wiki page.

@alloy alloy referenced this issue Mar 18, 2012

Closed

Hide pod setup #153

fabiopelosin added a commit that referenced this issue Mar 20, 2012

Merge branch 'setup-push'
* setup-push:
  [#112] Introduced --push option for setup command
Owner

fabiopelosin commented Mar 20, 2012

@alloy Could you please review this one. I'm not sure if it the best approach.

fabiopelosin added a commit that referenced this issue Mar 22, 2012

Merge branch 'master' into improved-search
* master:
  [#184] fix for documentation options
  [#180] check appledoc exit status
  [#112] Refactoring based on suggestions by @alloy
  [#112] Improved remote url detection for spec repo
  [#132, #183] Fix to make repo update tolerant of stray files ~./cocoapods
  [#112] Introduced --push option for setup command

fabiopelosin added a commit that referenced this issue Mar 22, 2012

Merge branch 'master' into local-pod-source
* master:
  [#112] Refactoring based on suggestions by @alloy
  [#112] Improved remote url detection for spec repo
  [#132, #183] Fix to make repo update tolerant of stray files ~./cocoapods
  [#112] Introduced --push option for setup command

kommen pushed a commit to kommen/CocoaPods that referenced this issue Apr 4, 2012

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013

Merge pull request #112 from indiebrain/master
add spec for Corey Johnson's Seriously

fabiopelosin added a commit that referenced this issue Oct 25, 2014

Merge branch 'setup-push'
* setup-push:
  [#112] Introduced --push option for setup command

fabiopelosin added a commit that referenced this issue Oct 25, 2014

Merge branch 'master' into local-pod-source
* master:
  [#112] Refactoring based on suggestions by @alloy
  [#112] Improved remote url detection for spec repo
  [#132, #183] Fix to make repo update tolerant of stray files ~./cocoapods
  [#112] Introduced --push option for setup command

fabiopelosin added a commit that referenced this issue Oct 25, 2014

Merge branch 'master' into improved-search
* master:
  [#184] fix for documentation options
  [#180] check appledoc exit status
  [#112] Refactoring based on suggestions by @alloy
  [#112] Improved remote url detection for spec repo
  [#132, #183] Fix to make repo update tolerant of stray files ~./cocoapods
  [#112] Introduced --push option for setup command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment