diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-20 12:37:15 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-20 15:00:56 +0100 |
| commit | 084508bd51559c9909881682fd49fa4bb5e0e004 (patch) | |
| tree | 79a84825cf3192357c2c530d860f7c809913599a | |
| parent | 72357b7f945a5d25339d3df4d6bd225a30b2601f (diff) | |
Docs building: Update
| -rw-r--r-- | docs/md/building.md | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/docs/md/building.md b/docs/md/building.md index 1932042..8fd8627 100644 --- a/docs/md/building.md +++ b/docs/md/building.md @@ -31,13 +31,6 @@ To clean build the library and wrapper, issue the following command in the root make clean ``` -### Note on releases -Releases are build with the go tag "release" (add flag "-tags=release") to bundle the discovery JSON files and embed them in the shared library. See the [make_release](https://codeberg.org/eduVPN/eduvpn-common/src/branch/main/make_release.sh) script on how we bundle the files. A full command without the Makefile to build this library is: - -```bash -go build -o lib/libeduvpn_common-${VERSION}.so -tags=release -buildmode=c-shared ./exports -``` - ## Python wrapper To build the python wrapper issue the following command (in the root directory of the eduvpn-common project): @@ -62,31 +55,22 @@ These are signed with minisign and gpg keys, make sure to verify these signature - <https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc> - <https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.rpm/tree/main/item/SOURCES/minisign-CA9409316AC93C07.pub> -To build for release, make sure to extract the tarball, and then add `-tags=release` to the `GOFLAGS` environment variable: +To build for release, make sure to extract the tarball, and then build: ```bash -GOFLAGS="-tags=release" make +make ``` To upload the releases to Codeberg, run: ```bash ./make_release.sh -./upload_release.sh ``` For pre-releases: ```bash ./make_release.sh -p -./upload_release.sh -p ``` ### Package formats -We support the following additional package formats: RPM (Linux, Fedora) and Deb (Linux, Debian derivatives) - -#### Linux: RPM -The RPM files can be found on a [SourceHut Repo](https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.rpm).These are then build with [builder.rpm](https://codeberg.org/eduVPN/builder.rpm). - -#### Linux: Deb -The RPM files can be found on a [SourceHut Repo](https://git.sr.ht/~jwijenbergh/python3-eduvpn-common.deb). These are then build with [nbuilder.deb](https://codeberg.org/eduVPN/nbuilder.deb). -Proceed the build like normally. +We support the following additional package formats: RPM (Linux, Fedora), Deb (Linux, Debian derivatives) and Pip. These are build in the CI and for production build on a separate non-public host. |
