perlang-org / perlang

The Perlang Programming Language
https://perlang.org
MIT License
16 stars 1 forks source link

Add `.deb` publishing #416

Open perlun opened 8 months ago

perlun commented 8 months ago

Publishing automated .tar.gz files for consumption by a custom shell script is useful, but really, it would be even nicer to have a few .deb channels for this:

experimental or snapshots

Corresponds to the current content at https://builds.perlang.org/; built automatically for each commit to the master branch. As the project grows and the number of commits per day potentially make this unfeasible, this could be switched to a nightly release cadence instead. For now, this works perfectly fine.

Challenge: How do we generate the Debian changelog for this? Should we create a changelog based on the latest stable/testing version and just auto-generate a new entry for the snapshots version? Or should we somehow fetch the latest snapshot changelog and add an entry to it (this becomes much more complex)?

testing

Corresponds to the currently released versions at https://github.com/perlang-org/perlang/releases. Released every now and then, but much more seldom than the snapshots. This is the version you'd typically use a non-development machine, where you just want something that "works" and typically don't have any grave, major bugs present.

Where do we host it?

This is a good question. Regretfully, it might be easiest that we just host it on our own infra for now, even though it would be nice to have this on something like GitHub Packages. Unfortunately, it doesn't support support .deb packages currently. :neutral_face: We could look into other options also. Just putting it on our own infra works, it's just one more service to be responsible for ourselves... so if there was a shared "public transport" for this, it would be really nice to just "take the train" in this case instead of having to "drive your own car". :thinking: Worth considering.

Webpage instructions

Once this is in place, we should make sure to update the https://perlang.org/download/ page to make mention of the .deb package hosting. We'll still keep the .tar.gz files for sure; they are useful to non-Debian users. (I consider Ubuntu, Mint and other users to be Debian users here, since they are essentially part of the Debian ecosystem in a broader sense)

perlun commented 7 months ago

Where do we host it?

This is a good question. Regretfully, it might be easiest that we just host it on our own infra for now, even though it would be nice to have this on something like GitHub Packages. Unfortunately, it doesn't support support .deb packages currently. 😐

If/when we switch to GitLab, we could hopefully use its .deb repository support, with the caveat that it's not fully ready yet.