1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
firebase-go for Debian
----------------------
- Vendoring of github.com/MicahParks/keyfunc
The version pinned in go.mod for "keyfunc" is v1.9.0, while the latest
version is higher and makes keyfunc a wrapper for a split package (jwkset).
Aside from the split, it also start depending on
"github.com/golang-jwt/jwt/v5" instead of "github.com/golang-jwt/jwt/v4"
which is in debian and also used by firebase.
Simpler option is to vendor v1.9.0 as upstream.
There should be no need to rerun the vendoring unless upstream changes
their go.mod to a different version.
To run the vendoring:
1. Update necessary mods in $MODS_VENDORED in d/rules
2. Then run:
$ make -f debian/rules vendor-mods
This should vendor all mods in ./vendor, copy the ones named in d/rules
to debian/vendor, then delete ./vendor.
Vendoring mechanism based on usql vendoring flow.
-- Ahmad Khalifa <ahmad@khalifa.ws> Fri, 05 Sep 2025 17:32:12 +0100
|