launchpad-users team mailing list archive
-
launchpad-users team
-
Mailing list archive
-
Message #07087
Getting the distribution series in a recipe
-
To:
launchpad-users@xxxxxxxxxxxxxxxxxxx
-
From:
Alberto Mardegan <mardy@xxxxxxxxxxxxxxxxxxxxx>
-
Date:
Sun, 8 Dec 2019 15:59:50 +0300
-
Autocrypt:
addr=mardy@xxxxxxxxxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBE478zgRBADyEruechMymSxrlOO76Bc3ceI+XV6DHwVux7fRet4C0bQ+4gGhlAtMHc+x IJg8m0vhlcTnmIAdnp9QmD2zbq4sFEiD3/4EcfXZUMBb5Gd+coTXCuzjkgEnmVzt8KfgOA+T 2FcuBmQK57ybxOBqFCSF61wZll1T7oSK342GzaPF6wCggWfF5pPCBJNWX9mOaLN7FrGfY/cE AIv1F3TwUbvNVmtDk2FwkzVD3hZZ7cXjrVZ8TZHMEnizpT8kcsok3iYbWtSRBAjSO4Q274Ft NQpgKi1cNKEn2g7JdIJ82ATAfxRlZjG6lsiMTA20s0VBspRXJVGE81VaMgyhVs27OW9hLySF rQzkhMavnLHfTTNIbfPWLeVeh4jlBADSCWuSCj7tJRaJqQl7OhmDw++ZHnSo5D3uM/xCk7nq v1962DFcIzkAcNeso1Z3xMrmfXEo7ynpr4OyELExJJ1zc8MJPlt8LTVPvibo7+aAetwzlcwe vx+eNbl9fFkEMHk5okhP9zZx4pGsuL8xdWD7Hwm3zyVLj/kWjxmjKJvxRLQuQWxiZXJ0byBN YXJkZWdhbiA8bWFyZHlAdXNlcnMuc291cmNlZm9yZ2UubmV0PohiBBMRAgAiBQJQql2rAhsD BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBUtB6Axd4IUqa1AJ0RGsV+tSB73ImXeYu5 5KSYdenCGgCcD/++b+c3LR5/17jxRCpLxlG/2rC5Ag0ETjvzkRAIANIiiT1uKgNBy06NsIgh xOSzTG0VlWYwHwoVw7UOUMNd/wblkx5p4sSH4mt7kuOX++9bKTADivc3SwGxm7HVjqJF4MQo el1cwWQmO5xSiUtRgLmy/bPvu1AeY93jO7voqocGGDVQUnjCAUUEdo3C8BgA6IMZQgyUyVSJ 3737OHnwW5yDQujuphchZ0SshunxpYLW163+gOQi1SInOmU7v67Cfz2WxNHBCz9f5Y7zWE6Q EWUR9TwLEhakUZb3rcSjc2XebvpUbf8zlb14ln0jDU8sfC2GOvKLsSr+JzGqRlS6qiLj3tFy +cwGYgPBSh++z/tW7WyICa43+BWvNtWLVbMAAwUH/2L37HDglWHJmnUedSwy5bOuERyK//oA nXK+vtctoD3KN1kIoue8nzDpXLCO9QrWujkcFNDKudSmgW5MmEjJzWeCPW3O7gP0bNwi3fZV C3SAcvbhes29JwB2GTDHZmfNJOx6KRYmJB5Hl49zez20XixT6ANdqTbXkT62sVegrmLt7gle pdxR/PkrS6Y+nfCF+YR6FPS/XLq2/AzCDi/43F9+u8dj+XcnMsfx8ox3Y6jx3563Y2OdUddM w7TQ6InMX/mPfPo5vbYdTeSgc2A3ZGKnirTRGG0HCH5wXr6wVXMYEU1QqZLGQTQm1OhM6Hh+ 6tNWRsuGHCnYKUNdtgWVcQeISQQYEQIACQUCTjvzkQIbDAAKCRBUtB6Axd4IUgbdAJ9yx5Sb PmRkVWELefEJRWL5lFaBdACdFkyao354xPAVvBheCgffPwcKVWA=
-
Openpgp:
preference=signencrypt
-
Sender:
Alberto Mardegan <mardy.tardi@xxxxxxxxx>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
Hi there!
Inside a recipe I can use several useful variables, specified in [1].
Now, my project needs different packaging for different distribution
series, so I was thinking to store the debian packaging in branches
named like "packaging-xenial" and "packaging-bionic", and then have the
recipe pick the correct one and merge it into the base code.
However, there doesn't seem to be a variable carrying the distribution
name, which would allow me to write a recipe command like
merge packaging lp:~mardy/imaginario/packaging-{distribution}
I guess I need to use two different recipes, then, or is there some
trick to achieve this with a single recipe?
Ciao,
Alberto
[1]:
https://help.launchpad.net/Packaging/SourceBuilds/Recipes#Version_numbers_and_substitution_variables
--
http://www.mardy.it - Geek in un lingua international
Follow ups