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

Update Launchpad links to point to GitHub issues instead #11270

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Feb 12, 2023

Inspired by #11265 (comment), this PR updates all the Launchpad links to the corresponding GitHub issues.

In case anyone's curious/wants to verify the result, this is the script I've used (requires a GitHub API token).

@Swiftb0y
Copy link
Member

IMO this counts as a frowned upon mass reformatting PR that comes with the usual merge conflicts. I don't think others will accept it. Also, if you had told us earlier, we could've given you the issue database that contains the mapping between github and launchpad issues...

@JoergAtGithub
Copy link
Member

If we don't apply pre-commit changes for this PR, I don't see a problem with mass reformatting.

@fwcd
Copy link
Member Author

fwcd commented Feb 13, 2023

Sorry, I was perhaps a bit too eager with this :D Yeah, I definitely see your point in this being hard to review... but that's probably in the nature of such a change.

Feel free to close this or repurpose the script e.g. to read the mapping from the database you've mentioned if that's easier to do.

@daschuer
Copy link
Member

I consider the resulting conflicts easy to resolve and the scripting approach the only way we can manage this change.
The change itself is helpful, because searching in our launchpad is disabled and we need to compose the links manually if they are shortened.

I am a bit concerned about the existing bug links that are not following an unambiguous notation.
How about clean that up first and then apply the swap in a second commit?

@Swiftb0y
Copy link
Member

I don't really see a huge need to swap all the links, after all you can just follow the link to launchpad and then follow to github since the backlink is posted on launchpad as well. That said, while its not a big improvement, it doesn't have much downsights either so I'm neutral on whether to merge this.

@uklotzde
Copy link
Contributor

I would appreciate it to replace the legacy links that still point to Launchpad.

Unrelated remarks

  • The code should only reference open issues, not closed issues. All relevant information from closed issues that is still needed for understanding the code and its design decisions should be included literally as code comments.
  • Cross-referencing open issues in the code has proven helpful for tracing and resolving them.

@fwcd
Copy link
Member Author

fwcd commented Mar 9, 2023

Any updates on this? We should probably either move forward with this PR or close it to avoid accumulating a lot of conflicts.

@JoergAtGithub
Copy link
Member

I would like to see this get merged. What are the preconditions, that everybody is fine with this?

@Swiftb0y
Copy link
Member

No objections from me, but it would be nice if the couple ambiguous occurrences in the source could be fixed. They're only a few and can be fixed by hand. I used grep -Hirn -E "(#|lp:?)[0-9]{7,10}" to find them.

@daschuer
Copy link
Member

I am also supporting the merge. I think that should go to 2.4 to lower the risk of future merge conflicts.

@fwcd fwcd force-pushed the update-launchpad-links branch from 57d1fb9 to ddaeaf7 Compare March 15, 2023 17:21
@fwcd fwcd changed the base branch from main to 2.4 March 15, 2023 17:21
@fwcd
Copy link
Member Author

fwcd commented Mar 15, 2023

I've rebased it to 2.4

Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

LGTM Thank you for taking care.

@daschuer
Copy link
Member

I will issue another PR fixing the remaining LP numbers as suggested by @Swiftb0y-

@daschuer daschuer merged commit 90f19df into mixxxdj:2.4 Mar 15, 2023
@fwcd fwcd deleted the update-launchpad-links branch March 15, 2023 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants