-
Notifications
You must be signed in to change notification settings - Fork 133
Add debian packaging helpers #2288
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
base: master
Are you sure you want to change the base?
Conversation
|
Wouldn't it be better to run |
|
@mmstick - I added the other script I use for building all packages individually in one-go as well. It auto discovers every debian subproject and builds them with Coming to the reason for a single deb:
Both come in handy at different times, so I keep these on my copy. But would be great if you'd like to stash it upstream in the scripts dir optionally for people who prefer to have options. Otherwise, please let me know and happy to remove them / adapt accordingly. |
|
To summarize:
|
If you aren't on a Debian machine, there would be no need to build a debian package.
The vendoring is optional. If you just want to build a package locally without using a schroot or vendoring, you can use
The files generated by debian packaging tools are already ignored via
Compiling the entire desktop environment into a single package will take a lot longer than building the specific package that you need. In general, either If you want daily updates, you can install Pop!_OS 24.04, or use Fedora with the cosmic COPR repository, or Arch with the ChaoticAUR. |
|
@mmstick I think we probably got a misaligned on what these scripts do.
The following basically just does the above, but instead of the polluting the system without a way to cleanly uninstall, it just packages these into a single debian package for convenience that can be removed at will. This should be very helpful in a debian based machine for people who are not full time developers on cosmic where they are okay with doing Note: Reminder that Debian best practice as well as I'd recommend as general disciple to not throw things into the |
|
The other script is nothing but just a simple loop over dpkg-buildpackage to build all at once. Happy to remove that if that's what you'd prefer.
The intent for I hope, what you're trying to imply isn't, if you want to follow daily with convenience, just switch repo out of Debian :) Currently, all I have to do stay upto on Debian without external dependencies is: That's it. I'm upto date. It only builds what's changed, as it simply just uses just install, and is very convenient without having to depend on anything extra and can cleanly uninstall it straight from the debian package manager unlike In addition, I'd also say that, this also helps prevents bugs like: #2287. It was caught, because I tried to package the just install cleanly. This would have left system in polluted ways. |
|
@mmstick I'm worried the current philosophy of just checkout individually is breaking the overall builds quite often. #2396 just broke things again. Would perhaps a Github CI pipeline to do |
Context
Example usage
That's it. Just simply running the script will automatically run
just buildand build a single debian package in the_builddir that's ready to be installed with dpkg.