8000 feat: detect Debian Testing as actual codename instead of Sid by silentJET85 · Pull Request #1418 · wimpysworld/deb-get · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: detect Debian Testing as actual codename instead of Sid #1418

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

silentJET85
Copy link
Contributor

If someone is running Debian Testing, this should properly detect it by it's codename instead of treating it the same as Sid.
This should be helpful in cases where a project has separate .debs for Testing and Sid.

@silentJET85
Copy link
Contributor Author

Added a $DEBIAN_TESTING variable. If the user is running Debian Testing, this will be the same as $UPSTREAM_CODENAME. Otherwise, it will be empty.
I think this would be useful in instances where an app has a specific build for Debian Testing. OBS Repositories often do, for example.
This way we wouldn't need to manually adjust the package whenever a new Debian stable comes out and testing changes to the next codename.
See #1436 for an example of how it could be used in a package.

I kept it as a separate commit, in case this isn't wanted for whatever reason.

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.

1 participant
0