Get this repository:
git clone https://git.launchpad.net/pdbq
Only Bryce Harrington can upload to this repository. If you are Bryce Harrington please log in for upload directions.

See all merge proposals.

Branches

Name Last Modified Last Commit
main 2024-05-01 05:07:25 UTC
package-metadata: Clarify merge responsibilties on a few more packages

Author: Bryce Harrington
Author Date: 2024-05-01 05:03:32 UTC

package-metadata: Clarify merge responsibilties on a few more packages

reimplement-pkg-versions 2024-04-09 17:11:06 UTC
pkg-versions: Add a --series-spec option to list esm, lts, et al

Author: Bryce Harrington
Author Date: 2024-04-09 16:50:13 UTC

pkg-versions: Add a --series-spec option to list esm, lts, et al

Alternate package lists can be obtained, for example:

    $ pkg-versions dovecot --series-spec lts
    $ pkg-versions --series-spec devel samba

The option is aliased to '-s' and '--series' for shorthand.

For a list of the supported series, see:

    $ pkg-versions --help

add-mp-queue-status 2024-04-08 20:59:45 UTC
merge_proposal: Check pre-conditions for undefined git repos

Author: Bryce Harrington
Author Date: 2024-04-08 20:19:32 UTC

merge_proposal: Check pre-conditions for undefined git repos

There can be situations where the git repository is undefined, such as
for old BZR MPs, or other historical oddities. Add checks and error
accordingly.

MP-reimplement-pkg-versions 2024-04-06 02:49:17 UTC
pkg-versions: Stub in unimplemented tests

Author: Bryce Harrington
Author Date: 2024-04-06 02:49:17 UTC

pkg-versions: Stub in unimplemented tests

This is a placeholder/reminder to implement test cases for packages that
exist in only ubuntu, only debian, or neither.

pkg-bug-get-description 2023-10-25 04:01:00 UTC
pkg-bug: Add get-param command

Author: Bryce Harrington
Author Date: 2023-10-04 22:34:49 UTC

pkg-bug: Add get-param command

For bug reports consisting of Key: Value sets, such as seen in Apport
bugs, automatic installation failure bugs, and merge opportunity bugs,
this command permits extracting values given a key name. For example:

    $ pkg-bug get-param 1841168 DistroRelease
    Ubuntu 16.04
    $ pkg-bug get-param 2018055 "scheduled-For"
    Backlog

Only the value is printed. Doublequotes in keys are ignored and matches
are case-insensitive.

pkg-updates-ppa 2023-10-06 00:58:12 UTC
pkg-bug: Allow passing (unimplemented) series arg to report_bug()

Author: Bryce Harrington
Author Date: 2023-09-29 02:49:36 UTC

pkg-bug: Allow passing (unimplemented) series arg to report_bug()

The pkg-updates script generates input files for pkg-bug that include
the series argument, so pkg-bug needs to not fail when it's present,
even though support has not yet been implemented for applying it.

pkg-bug-create-with-multi-packages 2023-10-04 22:45:41 UTC
pkg-bug: Fix --debug to be set properly

Author: Bryce Harrington
Author Date: 2023-10-04 02:48:45 UTC

pkg-bug: Fix --debug to be set properly

introduce-mp-addresses 2023-09-21 23:14:44 UTC
merge_proposal: Include repo in address if different from project

Author: Bryce Harrington
Author Date: 2023-08-31 23:00:11 UTC

merge_proposal: Include repo in address if different from project

pdbq's main repository is named "pdbq" so merge proposal urls can be
constructed assuming project == repository, however this is not
universally true. For instance, ppa-dev-tools' main git repository is
named "ppa-dev-tools-1" to distinguish it from its pre-existing bzr
repository that holds the "ppa-dev-tools" name.

Moreover, for git branches the parsing code previously was extracting
the repository and providing it as the project name, so in the case of
differently named projects and repositories that provides an incorrect
value. Interestingly, it was doing it correctly for bzr branches.

To fix all of this, a separate property is added for the repository
name with the repository parsing logic. For the project name, the value
is parsed similarly for both git and bzr, so the implementation
simplifies a bit.

Finally, the address() property logic is adjusted to include the
repository name when it differs from the project name. In cases where
they're the same we omit the duplicate. The absence of the repository
name can thus be taken as an indication that it's identical.

implement-mre-card-support 2023-08-01 23:04:55 UTC
pkg-updates: Add and_join() helper function

Author: Bryce Harrington
Author Date: 2023-07-22 01:34:43 UTC

pkg-updates: Add and_join() helper function

This lets lists of Ubuntu release names be formatted in a more
human-readable way by using the word 'and'.

implement-tests-for-merge-proposal-class 2023-07-15 01:48:41 UTC
merge_proposal: Fix incorrect timedelta usage

Author: Bryce Harrington
Author Date: 2023-07-15 01:42:39 UTC

merge_proposal: Fix incorrect timedelta usage

The .days property is an int, not a function.

add-pkg-mp 2023-06-06 12:48:53 UTC
pkg-mp: Implement basic MP listing support

Author: Bryce Harrington
Author Date: 2023-04-02 16:10:35 UTC

pkg-mp: Implement basic MP listing support

  $ ./scripts/pkg-mp list canonical-server-reporter

This prints a list of all currently active reviews with properties.

pkg-bug-milestones 2023-06-01 19:41:02 UTC
pkg-bug: Fix milestone, status, and importance setting

Author: Bryce Harrington
Author Date: 2023-05-09 01:23:24 UTC

pkg-bug: Fix milestone, status, and importance setting

Due to launchladlib magic (I guess), settings don't get applied by
reference, and require explicit invocation of lp_save().

planned-merges-mm 2023-06-01 03:21:33 UTC
planned-merges: Drop predictive text

Author: Bryce Harrington
Author Date: 2023-04-28 21:19:07 UTC

planned-merges: Drop predictive text

Originally, this code was intended to perform preliminary scheduling of
merges by heuristically estimating when a merge is likely to become
available based on historical release frequency. However, the COVID
experience we collectively went through put a lot of upstreams through
the ringer, resulting in massive irregularities in release behaviors.

Even when it was working right, there were only about three months
viable for doing merges anyway, so the value of auto-scheduling was
pretty low. Furthermore, in actual practice people's personal
scheduling preferences weighed much more heavily so we tended to prefer
manually organizing our merge cards anyway.

Dropping this code will have a further benefit of reducing the amount of
logic that needs to be reimplemented in Python when it becomes time for
rewriting it.

add-query-lp-milestones 2023-04-05 00:55:55 UTC
lp: Add support for readonly mode

Author: Bryce Harrington
Author Date: 2023-04-05 00:55:55 UTC

lp: Add support for readonly mode

add-collect-watch 2023-03-17 07:07:59 UTC
Add collect-watch worker

Author: Bryce Harrington
Author Date: 2023-03-17 07:00:13 UTC

Add collect-watch worker

This script does a git ubuntu clone for a package and then uses its
watch file to see if there are new upstream releases available.

The script takes input as a JSON file, and generates output as JSON to
stdout.

This worker is intended to replace scripts/watch-query, however since
this operates on individual packages rather than a collection of
packages, some additional integration scripting will be needed before
watch-query can be dropped.

merge-proposal-wip 2022-03-31 16:17:55 UTC
WIP: Add worker for collecting LP reviews for a given team

Author: Bryce Harrington
Author Date: 2022-03-31 16:17:55 UTC

WIP: Add worker for collecting LP reviews for a given team

This merges data from both Launchpad's API (via the new MergeProposal
class), and scraped from Launchpad's HTML rendering of a team's
activereviews page. The objective of this work is for each MP to build
a richer data object, that can then be used to help organize/filter
results better than the activereviews page does.

package-sources-oci-snaps 2021-11-09 00:46:38 UTC
refresh-data.cron: Update data cron for oci/snap

Author: Bryce Harrington
Author Date: 2021-11-02 00:41:07 UTC

refresh-data.cron: Update data cron for oci/snap

planned-merges-jj 2021-10-13 00:08:49 UTC
Use find rather than ls to search for data files

Author: Bryce Harrington
Author Date: 2021-10-12 22:29:28 UTC

Use find rather than ls to search for data files

Shellcheck suggested improvement.

Also limit search to files with non-zero sizes, to avoid using data
files currently being written to, or that were invalid when generated.

package-sources-mre-ppa 2021-10-07 18:41:18 UTC
workers: Include container stack components in MRE backport list.

Author: Bryce Harrington
Author Date: 2021-10-07 18:27:55 UTC

workers: Include container stack components in MRE backport list.

Per Lucas, the backport task occurs once near the beginning of a devel
release and once towards the end. All three packages, docker.io,
containerd, and runc, get backported together at the same time, so
they'll be represented as a single bug report with three bug tasks for
the three packages.

package-sources 2021-10-06 23:11:44 UTC
planned-merges: Tag all bugs 'needs-merge'

Author: Bryce Harrington
Author Date: 2021-10-06 23:11:44 UTC

planned-merges: Tag all bugs 'needs-merge'

Per the specification, we'll be using this tag to track all of these
bugs.

pkg-bug-import 2021-09-29 01:22:34 UTC
pkg-bug: Implement import command

Author: Bryce Harrington
Author Date: 2021-09-29 00:34:03 UTC

pkg-bug: Implement import command

This adds a new command to create multiple bugs using a JSON file as
input data.

Since we're passing the JSON from the `planned-merges` script directly
to command_import()'s function arguments, the dict elements must match
exactly. So, add subscribers and drop potential-owner.

refactor-pkg-bug 2021-09-25 00:46:23 UTC
pkg-bug: Use a dry_run decorator for bug creation

Author: Bryce Harrington
Author Date: 2021-09-24 23:49:02 UTC

pkg-bug: Use a dry_run decorator for bug creation

Refactor the --dry-run handling code into a decorator function that
either runs the function or prints it and its arguments depending on the
setting for the global 'DRY_RUN'. This relies on Python typing to
identify the return type of the function so it can fake its return;
the Bug class is modified to handle empty initialization to support this
behavior.

The bug filing code from command_create() is moved into a dedicated
routine, report_bug(), which is then given the new @dry_run decorator.

Since report_bug() is constructed to file bug reports against Ubuntu
packages, a package name is now required and is specified via a new
--package option.

While cleaning up command_create(), the description setting logic is
also broken out to a separate command; it may become useful for other
needs in the future.

pkg-bug-list 2021-09-22 01:01:19 UTC
pkg-bug: Implement list-subscribed and list-assigned commands

Author: Bryce Harrington
Author Date: 2021-09-22 01:00:38 UTC

pkg-bug: Implement list-subscribed and list-assigned commands

add-pkg-bug 2021-09-18 02:34:49 UTC
pkg-bug: Add new script for filing bug reports

Author: Bryce Harrington
Author Date: 2021-09-18 01:49:56 UTC

pkg-bug: Add new script for filing bug reports

Preliminary implementation of what will eventually become a flexible CLI
for creating, viewing, and updating bug reports. For now, this just
files basic bug reports against the Ubuntu project.

query-bugs 2021-09-14 00:25:19 UTC
lp: Fix url to include trailing slash like other urls

Author: Bryce Harrington
Author Date: 2021-09-13 23:39:38 UTC

lp: Fix url to include trailing slash like other urls

improve-merge-opps-email 2021-07-22 22:35:13 UTC
merge opportunities report: Improve the merge-o-matic section

Author: Bryce Harrington
Author Date: 2021-07-22 21:33:03 UTC

merge opportunities report: Improve the merge-o-matic section

The last section of the merge opportunities report should show
non-server packages where server team members made the last change.
Merge-o-matic convention is that the last person to change a package may
be the best to do the subsequent merge.

This fixes several issues in the previous report. First, it provides a
way to filter out work being done by people who were once server team
members but now work in other areas of Ubuntu distro engineering.
Second, it provides a way to pass in a listing of server team packages
to be excluded. Third, for sponsored uploads we consider only the
original author, not the uploader. Finally, the report now includes the
ubuntu and debian version numbers to be merged, for reference.

126 of 26 results

Other repositories

Name Last Modified
lp:pdbq 2024-05-01
11 of 1 result
You can't create new repositories for PDBQ.