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

Adding deletion for old tag references #845

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

mjgaughan
Copy link
Contributor

title: 'Adding deletion for old tag references'
category: fixed
author: Matt Gaughan [email protected]
issue: (782)[https://github.com//issues/782]
notes: >
If server deletes reference to tag, local repo will as well.
Simple implementation for clarity's sake.

@mjgaughan
Copy link
Contributor Author

@jjmerchante hello! Thank you for your help with sorting out this PR -- when I run_tests.py on my local, there are a handful of errors in unrelated tests. I'm not sure how many of these are a function of the changes that I have made, which I regard as small. Please let me know if I'm breaking something in a way I don't anticipate -- still getting familiar with the broader code base architecture!

@sduenas
Copy link
Member

sduenas commented Jul 2, 2024

@jjmerchante hello! Thank you for your help with sorting out this PR -- when I run_tests.py on my local, there are a handful of errors in unrelated tests. I'm not sure how many of these are a function of the changes that I have made, which I regard as small. Please let me know if I'm breaking something in a way I don't anticipate -- still getting familiar with the broader code base architecture!

The current errors in the tests are because you aren't following the code style defined by flake8 in your test file.

Copy link
Member

@vchrombie vchrombie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mjgaughan, these changes should fix the errors in the test.

It would be great if you can squash these commits into one and add a changelog file as required. Please let me know if you need any help to get this PR merged.

tests/test_git.py Outdated Show resolved Hide resolved
tests/test_git.py Outdated Show resolved Hide resolved
@mjgaughan
Copy link
Contributor Author

@vchrombie Thank you for your help with this PR and for the useful suggestions in code review. I have implemented your changes to test as well as added a changelog file. Please let me know if there are any other steps to merging.

@vchrombie
Copy link
Member

Hi @mjgaughan, thanks for working on this. As a final step, can you squash all these commits into one? Let me know if you need any help.

@mjgaughan
Copy link
Contributor Author

Hey @vchrombie I just squashed the commits; let me know if it looks ok! Thanks so much for your help with this

Copy link
Member

@vchrombie vchrombie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sduenas
Copy link
Member

sduenas commented Aug 20, 2024

Can you edit the commit message? It has multiple lines with the signed off trailer and also it doesn't describe what you did on this commit. Please also start the first line with [git] Add deletion of old tag references.

@mjgaughan
Copy link
Contributor Author

@vchrombie @sduenas Just updated the commit message to meet what I believe is specification. Please let me know if there are any errors. Thanks!

Copy link
Member

@sduenas sduenas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Venu Vardhan Reddy Tekula <[email protected]>
Signed-off-by: mjgaughan <[email protected]>
@sduenas sduenas merged commit 5eb31be into chaoss:master Aug 21, 2024
6 checks passed
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.

4 participants