Standardize standard-release naming conventions #134
Replies: 7 comments 31 replies
-
hmm, a few notes/recommendations:
Using macOS instead of Apple and keeping the hyphen x84-64, it would be:
|
Beta Was this translation helpful? Give feedback.
-
Officially proposing candidate number 2:
Tagging is the same as original proposal, consistently prefixing our version numbers with a |
Beta Was this translation helpful? Give feedback.
-
So one thing I remember about the intent of the original naming scheme was, it'd be alphabetized by the most actionable/user-relevant part, which is the platform name, first. So you know if you're on Arm Linux, well then look for Arm. The first fields were also unique per OS/Arch combo, so for Apple Silicon you'd notice "Silicon" and go, "oh, that's the one." Hence "Silicon", not "Arm", even though yeah, if Apple ever actually gets a monopoly on elemental silicon, lord help us. All told, very optimized for visual skimming, which is what humans care about when browsing the dozen-plus files on the GitHub Releases page, anyhow. As mentioned elsewhere, I am incorrigible digital hoarder and like having the version numbers in the binary names, so it's clear what they are in my Downloads folder. (And somewhat by convention from how Linux distros usually name their .debs/.rpms or what-have-you. If someone drops or copy-pastes a binary somewhere, it's clear enough what version it is.) Just want to make the case for essentially the original naming scheme with whatever finer points bikeshedded properly. But the key benefits of the original scheme, for quick reference are:
If we can keep that going, (or at least retain these strengths in whatever naming scheme we end up with) it might be worthwhile. |
Beta Was this translation helpful? Give feedback.
-
Another benefit to not having version numbers in the file name is that we can more easily distribute on Appimagehub. At the moment it links to |
Beta Was this translation helpful? Give feedback.
-
Proposal 3:
Example <a download="Pulsar-v1.102.0-Windows-Installer.exe" href="https://github.com/pulsar-edit/pulsar/releases/latest/download/Pulsar-Windows-Installer.exe" target="_blank">Installer</a> |
Beta Was this translation helpful? Give feedback.
-
So, to make sure this discussion can address automatability concerns, I want to go over all the technical ways we have available for grabbing the binaries from GitHub Releases in a machine-assisted or automated way. Since I already went over human factors, let's go over machine factors.
Notes (click to expand, kinda rednundant to the reply comment below, tho)I would note that the only technical scenario enabled by version-free names would be the "evergreen"/"versionless static" Once we stabilize our filenames, predicting static URLs with versions in the filenames is as simple as knowing what the desired release version number is, perhaps aided by a quick check of what the latest is from the GitHub.com REST API "Releases" endpoint?. And more sophisticated API-based access already needs arbitrarily-capable scripting to be useful, so in a scripting context, the version number in the filename would be a quite trivial barrier to overcome, IMO. |
Beta Was this translation helpful? Give feedback.
-
Yeah I like the idea!
|
Beta Was this translation helpful? Give feedback.
-
Current:
As of right now, we currently have no standardized naming for artifacts for standard releases. We have used everything from
ARM.Linux.Pulsar-1.101.0-beta-arm64.AppImage
toLinux.pulsar-1.101.0-beta.tar.gz
. Neither of which provide a very good foundation for downloading, for us - nor downstream consumers.Every standard update must be accompanied with a website update to update the specific URLs for the standard downloads.
Proposed:
v
, and then the version number i.e.v1.102.0
v1.102.0
Pulsar_<OS>_<Architecture>.<Extension>
Examples:
This change would allow us to switch to using GitHub's special
latest
URLs for our downloads instead i.e.https://github.com/pulsar-edit/pulsar/releases/latest/download/Pulsar_Linux_arm64.AppImage
.This means no website updates to coincide with standard updates, and no deviation for downstream consumers - all urls will be standardized.
If a downstream consumer wants to reference a specific version, the URL changes slightly i.e.
https://github.com/pulsar-edit/pulsar/releases/download/v1.102.0/Pulsar_Linux_arm64.AppImage
.Note the switch from
releases/latest/download
toreleases/download/<tag>
Note:
master
branch, which completed successfully.Beta Was this translation helpful? Give feedback.
All reactions