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

Cannot modify ownership after deleting all versions of a pod #282

Open
1 task done
daveneff opened this issue Jan 15, 2020 · 2 comments
Open
1 task done

Cannot modify ownership after deleting all versions of a pod #282

daveneff opened this issue Jan 15, 2020 · 2 comments

Comments

@daveneff
Copy link

Report

I'm running into an issue in trying to take over the name of an existing pod, Coordinator. I reached out to the original owner to delete the pod so I could use it instead, but now neither of us are able to modify ownership.

What did you do?

  1. The original owner deleted all versions of the existing pod.
  2. I ran pod trunk push Coordinator.podspec to push the new podspec, but got the following error:

    [!] You {my email} are not allowed to push new versions for this pod. The owners of this pod are {original owner email}.

  3. In response, the original owner ran pod trunk add-owner Coordinator {my email}, but received the following error:

    [!] No pod found with the specified name.

  4. As a last resort, I tried to claim the pod but then got this error:

    Unknown Pod Coordinator

Now neither of us can modify ownership for Coordinator.

What did you expect to happen?

  1. I expected that if all versions of Coordinator were deleted from the public specs repo, I would be able to create a new pod with the same name.
  2. I expected that an additional owner could be added to a pod, as long as CocoaPods has the original owner information stored.

What happened instead?

The original owner now can't add me as an owner, since the pod can't be found, and I can't create a new pod because ownership is still attributed to the original owner.

CocoaPods Environment

Stack

   CocoaPods : 1.8.3
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15.1 (19B88)
       Xcode : 11.3 (11C29)
         Git : git version 2.21.0 (Apple Git-122.2)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ b0b2783f5d420164672e30dc2c8c979be903e02f
               trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

claide-plugins        : 0.9.2
cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.1
cocoapods-try         : 1.1.0
@stale
Copy link

stale bot commented Apr 14, 2020

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

@amorde amorde transferred this issue from CocoaPods/CocoaPods Apr 20, 2020
@amorde
Copy link
Member

amorde commented Apr 20, 2020

Don't have any info to provide other than a guess this is a bug, unfortunately not super familiar with how the server portion of CocoaPods works

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

No branches or pull requests

2 participants