Commit 39a237ff authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

obs/generic: only specify OBS_PROJECT

OBS_PROJECT will be by default the branch project of our production
project : home:VIFIBnexedi:branches:home:VIFIBnexedi

Then if everything compile fine on the branch project, we will submit
the package on OBS website.
parent c5d7daeb
......@@ -16,7 +16,7 @@ make
Install OBS' ```osc``` command and log in (see [here](https://en.opensuse.org/openSUSE:OSC) and [here] (https://github.com/openSUSE/osc)).
Add a directory ```obs/<software_name>```. In this directory you MUST create a file ```env.sh``` (in any shell compatible with bash) where you define and export at least the following variables: ```SOFTWARE_NAME, MAINTAINTER_NAME, MAINTAINER_EMAIL, OBS_USER```.
Add a directory ```obs/<software_name>```. In this directory you MUST create a file ```env.sh``` (in any shell compatible with bash) where you define and export at least the following variables: ```SOFTWARE_NAME, MAINTAINTER_NAME, MAINTAINER_EMAIL```.
### Optional
......
......@@ -6,7 +6,6 @@
# SOFTWARE_NAME -> the name of the software, which is the directory in obs/
# MAINTAINER_NAME
# MAINTAINER_EMAIL
# OBS_USER
### The user CAN define the following variables
## Debian packaging information
......@@ -42,8 +41,7 @@ BUILDOUT_RELATIVE_PATH=${BUILDOUT_RELATIVE_PATH:-software/$SOFTWARE_NAME/softwar
SETUPTOOLS_VERSION=${SETUPTOOLS_VERSION:-63.2.0}
ZC_BUILDOUT_VERSION=${ZC_BUILDOUT_VERSION:-2.7.1+slapos019}
## OBS information
# Get the user from osc configuration file.
OBS_PROJECT=${OBS_PROJECT:-home:$OBS_USER}
OBS_PROJECT=${OBS_PROJECT:-home:VIFIBnexedi:branches:home:VIFIBnexedi}
OBS_PACKAGE=${OBS_PACKAGE:-$SOFTWARE_NAME}
# OBS_COMMIT_MSG can be used, a prompt will be asked if empty or undefined
......
export SOFTWARE_NAME=dep--fluent-bit
export MAINTAINER_NAME=Ophelie
export MAINTAINER_EMAIL=ophelie.gagnard@nexedi.com
export OBS_USER=oph.nxd
export PACKAGE_BUILD_DEPENDENCIES="debhelper (>= 4.1.16), chrpath, wget, python (>= 2.7), python3 (>= 3.7), python3-dev (>= 3.7), cmake (>= 3.18)"
export SETUPTOOLS_VERSION=44.1.1
export ZC_BUILDOUT_VERSION=2.7.1+slapos016
export SOFTWARE_NAME=dep--mca--static
export MAINTAINER_NAME=Ophelie
export MAINTAINER_EMAIL=ophelie.gagnard@nexedi.com
export OBS_USER=oph.nxd
export PACKAGE_BUILD_DEPENDENCIES="debhelper (>= 4.1.16), chrpath, wget, python (>= 2.7), python3 (>= 3.7), python3-dev (>= 3.7), golang (>= 2:1.15~1), cmake (>= 3.18)"
export BUILDOUT_RELATIVE_PATH=software/mca/dep--mca--static.cfg
export SETUPTOOLS_VERSION=44.1.1
......
# This is a very small package only to test the compilation scripts in OBS
# This not pushed in ouor OBS production
export SOFTWARE_NAME=lunzip
export MAINTAINER_NAME="Ophelie"
export MAINTAINER_EMAIL="ophelie.gagnard@nexedi.com"
export OBS_USER=oph.nxd
export TARGET_DIR="/"
export BUILDOUT_RELATIVE_PATH=component/lunzip/buildout.cfg
export SETUPTOOLS_VERSION=44.1.1
export ZC_BUILDOUT_VERSION=2.7.1+slapos016
export OBS_PROJECT=home:oph.nxd
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment