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 Solus recipe repo information to new GitHub monorepo #1351

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

Staudey
Copy link
Contributor

@Staudey Staudey commented Sep 22, 2023

Solus has changed their package recipe repo from a self-hosted phabricator instance with split package repositories to a GitHub monorepo.

WIP Note: There is a special case for packages starting with "py" which is not considered in this initial PR draft. These have their own folder in the repo. I would need something like a 'pyorfirstletter': lambda x: x.lower()[:2] if x.lower().startswith('py') else x.lower()[0] filter, but I'm unsure whether I should add that directly to the filter section of repology/linkformatter.py or somewhere else entirely. Input welcomed!

@AMDmi3
Copy link
Member

AMDmi3 commented Oct 2, 2023

I would need something like a 'pyorfirstletter'

Yes, that's exactly what should be done - the case is very similar to libfirstletter. I've just renamed that to lib_or_first_letter for readability, you can use py_or_first_letter.

@Staudey Staudey marked this pull request as ready for review October 2, 2023 22:03
@Staudey
Copy link
Contributor Author

Staudey commented Oct 2, 2023

@AMDmi3 Thank you! I've done just that now. Should be good to go, unless I've missed something (it's quite late here 😅)

@AMDmi3 AMDmi3 merged commit 99381f7 into repology:master Oct 3, 2023
1 check 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.

2 participants