aboutsummaryrefslogtreecommitdiff
path: root/carbslinux.org
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-03-06 18:59:08 +0100
committerCem Keylan <cem@ckyln.com>2024-03-06 18:59:08 +0100
commit3dd47cab312977f52461281c6bc7e70abb76e516 (patch)
treeb82106bb446c1ef9b9049417527138bfc2f92121 /carbslinux.org
parent46285bc8a9dea0dce013ad1c5d482483a7f33cce (diff)
downloaddocs-master.tar.gz
contrib: add new guideline sectionHEADmaster
Diffstat (limited to 'carbslinux.org')
-rw-r--r--carbslinux.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/carbslinux.org b/carbslinux.org
index 5d9e1c6..21b8117 100644
--- a/carbslinux.org
+++ b/carbslinux.org
@@ -977,6 +977,9 @@ ninja -C output install
install -Dm755 program "$1/usr/bin/program"
#+END_SRC
+*NOTE*: Follow 2242 if you are packaging for non-Community repository.
+#+TEXINFO: @xref{2242}
+
**** {{{sectid(2241, Python)}}}
#+BEGIN_SRC sh
@@ -986,6 +989,22 @@ ninja -C output install
python setup.py install --prefix=/usr --root="$1"
#+END_SRC
+**** {{{sectid(2242, Go (pre-vendored))}}}
+:PROPERTIES:
+:ID: d2c828ae-bc56-4183-8830-becbf6a812d1
+:END:
+
+If you are a distribution maintainer create and upload vendor tarballs
+so that no internet connection is required during package compilation at all.
+You can use the following template for this case:
+
+#+BEGIN_SRC sh
+#!/bin/sh -e
+
+go build -v -mod=vendor
+clinst -Dm755 program "$1/usr/bin/program"
+#+END_SRC
+
** Contributing to the Community repository
:PROPERTIES:
:DESCRIPTION: Package maintainership and issue reports