Skip to content

Conversation

@cleithner-comcast
Copy link
Contributor

delete_remote_branches formatted remote
branch refs with an extra single quote
around each branch. These would never
match the branch strings stored in
stack entries, so remote branches would
never get deleted. This commit removes
the extra single quotes.

delete_remote_branches formatted remote
branch refs with an extra single quote
around each branch. These would never
match the branch strings stored in
stack entries, so remote branches would
never get deleted. This commit removes
the extra single quotes.
@cleithner-comcast
Copy link
Contributor Author

I submitted two PRs fixing issues I found with the tool while using it for the first time today. Happy to modify anything according to contributing guidelines. Other than testing using the tool on my own project, I did not test it in any other way.

@ZolotukhinM ZolotukhinM mentioned this pull request Oct 5, 2024
@ZolotukhinM ZolotukhinM merged commit 3161fcb into modular:main Oct 5, 2024
@ZolotukhinM
Copy link
Collaborator

Thank you for the fixes, I merged this one and left some comments on the other one!

ZolotukhinM added a commit that referenced this pull request Oct 12, 2024
GitHub deletes the remote branch automatically when the PR is merged, so
we don't to explicitly do that. Trying to delete it currently results in
an error like this:
```
error: unable to delete 'ZolotukhinM/stack/1': remote ref does not exist
error: failed to push some refs to '...'
```
The code for deleting the branch has been sitting there for a long time,
but until a fix in #27 it used incorrect branch names.
ZolotukhinM added a commit that referenced this pull request Oct 12, 2024
GitHub deletes the remote branch automatically when the PR is merged, so
we don't to explicitly do that. Trying to delete it currently results in
an error like this:
```
error: unable to delete 'ZolotukhinM/stack/1': remote ref does not exist
error: failed to push some refs to '...'
```
The code for deleting the branch has been sitting there for a long time,
but until a fix in #27 it used incorrect branch names.

stack-info: PR: #42, branch: ZolotukhinM/stack/1
ZolotukhinM added a commit that referenced this pull request Oct 12, 2024
GitHub deletes the remote branch automatically when the PR is merged, so
we don't to explicitly do that. Trying to delete it currently results in
an error like this:
```
error: unable to delete 'ZolotukhinM/stack/1': remote ref does not exist
error: failed to push some refs to '...'
```
The code for deleting the branch has been sitting there for a long time,
but until a fix in #27 it used incorrect branch names.
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.

2 participants