Get rid of jessie stuff because we can only build for stretch with this ?

This commit is contained in:
Alexandre Aubin 2018-04-26 04:30:16 +02:00
parent 6bf32044cb
commit 6c484a9da0
8 changed files with 7 additions and 26 deletions

View file

@ -1,21 +1,6 @@
Origin: YunoHost
Label: YunoHost for Jessie
Suite: stable
Codename: jessie
Version: 8.0
Architectures: i386 amd64 armel armhf arm64 source
Components: stable testing unstable extra
AlsoAcceptFor: jessie-stable jessie-testing jessie-unstable stable testing unstable
Update: jessie-stable jessie-testing
Description: YunoHost repository for Debian Jessie
SignWith: 59A3E6FF
Tracking: all includechanges keepsources
Log: logfile
--changes --via=include /home/vinaigrette/scripts/repo/process-include
Origin: YunoHost
Label: YunoHost for Stretch
Suite: testing
Suite: stable
Codename: stretch
Version: 9.0
Architectures: i386 amd64 armel armhf arm64 source

View file

@ -6,7 +6,7 @@
# read pbuilderrc.5 document for notes on specific options.
# default distribution
DISTRIBUTION="jessie"
DISTRIBUTION="stretch"
# default location for the user hooks directory
HOOKDIR="/home/vinaigrette/scripts/pbuilder/hooks/"

View file

@ -6,7 +6,7 @@ kill_timeout = 90
source_cmd = /home/vinaigrette/scripts/rebuildd/get-sources ${d} ${p} ${v}
build_cmd = /home/vinaigrette/scripts/rebuildd/build-binaries ${d} ${p} ${v} ${a}
post_build_cmd = /home/vinaigrette/scripts/rebuildd/upload-binaries ${d} ${p} ${v} ${a} ${j}
dists = jessie stretch
dists = stretch
work_dir = /var/cache/rebuildd/build
database_uri = sqlite:///var/lib/rebuildd/rebuildd.db
build_more_recent = 1

View file

@ -4,5 +4,5 @@ PBUILDER_BIN=/usr/sbin/pbuilder
PBUILDER_CACHE_PATH="/var/cache/pbuilder"
PBUILDER_MIRROR=https://ftp.debian.org/debian
ARCHS="amd64 i386 armel armhf arm64"
DISTS="wheezy jessie stretch"
DISTS="stretch"
ENABLE_BUILDER_MAINT=1

View file

@ -1,2 +1 @@
deb-src http://__REPO_URL__/debian jessie stable testing unstable extra
deb-src http://__REPO_URL__/debian stretch stable testing unstable extra

View file

@ -25,9 +25,6 @@ git clone https://github.com/yunohost/metronome
git clone https://github.com/vstakhov/rspamd
cd yunohost
git checkout stable && git symbolic-ref refs/heads/jessie-stable refs/heads/stable
git checkout testing && git symbolic-ref refs/heads/jessie-testing refs/heads/testing
git checkout unstable && git symbolic-ref refs/heads/jessie-unstable refs/heads/unstable
git checkout stretch && git symbolic-ref refs/heads/stretch-unstable refs/heads/stretch
cd ..

View file

@ -32,7 +32,7 @@ extract_codename_distribution()
for p in `echo "$1" | tr "-" "\n"`; do
case $i in
0)
if [[ $p =~ ^wheezy|jessie$ ]]; then
if [[ $p =~ ^stretch$ ]]; then
CODENAME=$p
else
echo "invalid Debian codename $p"

View file

@ -23,7 +23,7 @@ Usage:
Arguments:
<project> moulinette, yunohost, yunohost-admin or SSOwat
<branch> testing or stable
<distrib> jessie or stretch
<distrib> stretch (can only build for stretch, no jessie)
<version> x.y.z (ex: 2.6.1)
EOF
@ -51,7 +51,7 @@ function validate_arguments()
fi
# Distribution
if [[ ! $DISTRIB =~ ^jessie|stretch$ ]]; then
if [[ ! $DISTRIB =~ ^stretch$ ]]; then
echo "Invalid distribution $DISTRIB"
usage
exit 3