Skip to content
Snippets Groups Projects
Commit 79243455 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

import-debian-package: when "upstream" is set to "unstable", use "sid" instead


For consistency across all Apertis packages.

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 7327bcef
No related branches found
No related tags found
1 merge request!45import-debian-package: when "upstream" is set to "unstable", use "sid" instead
......@@ -268,6 +268,9 @@ def do_import(args):
f.write_text("* -text -eol -crlf -ident -filter -working-tree-encoding -export-subst\n")
package, downstream, upstream = args.package, args.downstreams.pop(0), args.upstream
if upstream == "unstable":
logging.warning('Switching "upstream" to "sid" instead of "unstable" for consistency!')
upstream = "sid"
upstream_release = upstream.split('/')[-1]
downstream_distro, downstream_release = downstream.split('/', maxsplit=2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment