You are not logged in.

#1 2021-03-11 01:22:36

rschristian
Member
Registered: 2021-03-11
Posts: 7

Is there a way to lock a package to a specific major (semver)?

The package in question I'm looking to lock is NPM. v7 came out with a number of breaking changes that I think make for a much worse experience, so I'd like to stick to v6. While I can easily ignore all updates for the package, I'd still like to get any minor/patches as they may have bug fixes.

However, seeing as how semver isn't baked into the AUR, I'm wondering if this is even possible?

I haven't seen any other reference to this, so apologies if I'm missing something obvious, my Google-foo returned nothing really relevant.

Offline

#2 2021-03-11 01:38:50

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Is there a way to lock a package to a specific major (semver)?

You'd create a "npm6" package which tracks the 6.x line of releases.

... apparently there is ONE such package in the AUR right now, for npm4. IDK why.

Last edited by eschwartz (2021-03-11 01:39:18)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB