Page MenuHomePhabricator

generate-debdeploy-spec breaks when trying to use the transition feature
Open, MediumPublic

Description

Example session:

kormat@cumin2001:~(0:0)$ generate-debdeploy-spec                                                                                                                 
Please enter the name of source package (e.g. openssl). type '' or 'quit' to abort                                                                               
>wmfmariadbpy
Enter an optional comment, e.g. a reference to a security advisory or a CVE ID mapping                                                                           
>v0.4

tool           -> The updated packages is an enduser tool, can be
                  rolled-out immediately.
daemon-direct  -> Daemons which are restarted during update, but which
                  do no affect existing users.
daemon-disrupt -> Daemons which are restarted during update, where the
                  users notice an impact. The update procedure is almost
                  identical, but displays additional warnings
library        -> After a library is updated, programs may need to be
                  restarted to fully effect the change. In addition
                  to libs, some applications may also fall under this rule,
                  e.g. when updating QEMU, you might need to restart VMs.

Please enter the update type:
>tool
Please enter the version of wmfmariadbpy fixed in buster. Leave blank if no fix is available/required for buster.                                                
>0.4+deb10u1
Please enter the version of wmfmariadbpy fixed in jessie. Leave blank if no fix is available/required for jessie.                                                
>
Please enter the version of wmfmariadbpy fixed in stretch. Leave blank if no fix is available/required for stretch.                                              
>0.4+deb9u1

Usually every upgrade only modifies existing package names. There are rare exceptions                                                                            
e.g. if a rebase to a new upstream release is necessary.

Enter an optional comma-separated list of binary package names
which are being switched to a new name.
Leave blank to skip
>wmfmariadbpy
Traceback (most recent call last):
  File "/usr/bin/generate-debdeploy-spec", line 221, in <module>
    main()
  File "/usr/bin/generate-debdeploy-spec", line 208, in main
    spec['transitions'] = get_transisions(changed_binary_names.split())
NameError: name 'get_transisions' is not defined

Event Timeline

Kormat created this task.Aug 18 2020, 12:25 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 18 2020, 12:25 PM
fgiunchedi triaged this task as Medium priority.Aug 19 2020, 9:06 AM