Jimmy Berry
14ae392743
osclib/util: correct python3 port by casting to list directly after filter.
...
8bf2602 cast to list during on the return line, but that does not work
if a project_suffix is present.
2019-05-22 20:32:33 -05:00
Stephan Kulow
7d0cad0e66
sha1_short: support bytes and str
2019-05-16 08:02:36 +02:00
Jimmy Berry
7a1ff946cd
osclib/util: sha1_short(): encode data as utf-8 [python3].
2019-05-15 21:00:11 -05:00
Stephan Kulow
8bf2602baa
family_prior: Cast the filtered list to a list
2019-04-30 14:28:49 +02:00
Jimmy Berry
0c1fa52c54
osclib/util: mail_send(): allow a from_key of None to indicate osc user.
2019-03-06 15:49:50 -06:00
Jimmy Berry
4dbcc5bc40
osclib/util: mail_send() utilize Config.get() pattern.
2019-03-06 15:49:50 -06:00
Jimmy Berry
58bffc3e01
osclib/util: mail_send(): use to as config key if no at sign.
2019-03-06 15:49:50 -06:00
Jimmy Berry
44f5ab7234
osclib/util: project_version(): return 0 instead of None for invalid project.
...
This allows for lists with invalid projects to still be sorted which is
generally desired since other means validate the results.
2019-02-15 14:16:23 -06:00
Jimmy Berry
e686cb19cc
osclib/util: provide project_list_family_prior_pattern().
2019-02-15 14:16:23 -06:00
Jimmy Berry
5f15314f33
osclib/util: project_list_family_prior(): provide include_updates option.
2019-02-15 14:16:23 -06:00
Jimmy Berry
087c1b0b8b
osclib/util: project_list_family(): cache via memoize.
2019-02-15 14:16:23 -06:00
Jimmy Berry
f13899e393
osclib/util: project_list_family(): provide include_update option.
2019-02-15 14:16:23 -06:00
Jimmy Berry
2ca2f4e875
osclib/util: project_list_family(): handle :NonFree suffix.
2019-02-15 14:16:23 -06:00
Stephan Kulow
53595a24bf
droplist: Ignore Leap:15.1 for Leap:15.1:ARM
...
The heuristic calculating the product family doesn't really work
for ports, so give the tool some hints in the config. And as 15.1
doesn't have a baseurl yet, we need to give 15.0 one specifically.
2018-12-04 07:42:33 +01:00
Jimmy Berry
341301fd0d
osclib/util: provide sha1_short() adapted from repo_checker.
2018-08-21 20:47:37 -05:00
Jimmy Berry
9a633ec26f
osclib/util: provide mail_send(), modified from announcer.py.
...
Depend on config for relay, from, and followup-to.
2018-04-10 22:51:28 -05:00
Jimmy Berry
78c87be188
osclib/util: project_list_family_prior(): provide last parameter.
2018-02-12 17:55:39 -06:00
Jimmy Berry
47bc54daae
osclib/util: project_list_family(): handle IBS SLE naming style.
2018-02-12 17:31:26 -06:00
Jimmy Berry
c57afdd258
osclib/util: provide project_list_family* and project_version().
2018-02-06 00:13:43 -06:00