GraphAPI Relation had some bad history pushed to the 7.x-1.x branch. Could someone please remove all the history of the entire project? (Don't worry, it's being split from GraphAPI, so the history is still around). I would like to do a proper subdirectory-filter, and push the real project history, but I can't because the branches conflict.

The reason I posted this as a bug report, and not as a support request is that there appears to be absolutely no way for a project maintainer to delete the 7.x-branch: I have tried removing all issues, disabling the issue queue, disabling release, and adding other branches and setting them as the default. When ever I try to delete, I get this:

$ git push origin :7.x-1.x 
remote: The branch '7.x-1.x' is identified as an official development branch on Drupal.org, and therefore cannot be deleted.
remote: error: hook declined to update refs/heads/7.x-1.x
To naught101@git.drupal.org:project/graphapi_relation.git
 ! [remote rejected] 7.x-1.x (hook declined)
error: failed to push some refs to 'naught101@git.drupal.org:project/graphapi_relation.git'

Since the branch is not used by any releases or issues, this seems like incorrect behaviour.

Comments

clemens.tolboom’s picture

Status: Active » Closed (won't fix)

I checked the repo http://drupalcode.org/project/graphapi_relation.git/shortlog then deleted all alien branches like 8x.-1.x + 7.x-10.x

Let's leave it like that.

The 7.x-1.x is clean enough to me or in other words I want to work on that branch.

@naught101 I do agree in that it should be possible to delete any branch if the branch is not used yet. Mayeb you can add an issue independent of graphapi_relation?

But I already added a dev release so maybe that was blocking your effort.

clemens.tolboom’s picture

Status: Closed (won't fix) » Active

Crap ... even when I cleanup the branches I can't even create a new release anymore http://drupal.org/node/add/project-release/1990828

The branch 7.x-1.x is not connected anymore to d.o infra :(

I even tried git push --force origin :refs/heads/7.x-1.x which is probably the same as git push origin :7.x-1.x

@naught101 hope you can figure this out :-/

clemens.tolboom’s picture

For d.o infra : can you remove the git repo as it's no big deal yet :-)

But I suspect some administrative issue regarding git refs pointing to the correct branch as http://drupal.org/node/add/project-release/1990828 fails.

It's blocking Graph API #1990826: Move graphapi_relation to it's own project.

Tnx

killes@www.drop.org’s picture

We can only delete the whole project and give you a clean slate.

clemens.tolboom’s picture

Status: Active » Closed (won't fix)

@killes@www.drop.org + @naught101

Well I guess I was right in that the 7.x-1.x-dev release was underways that we had trouble.

The project looks ok to me now ... I can move [edit]project issues[/edit] from Graph API to Graph API Relation

So I close it as I want to get rid ok the relation code from Graph API

Thanks for checking out and trying to help.