Add script to create new branches in PDC (with SLA/EOL info). #6840

Merged
jnsamyak merged 11 commits from create-pdc-branch into master 2026-06-08 03:12:31 +00:00
Contributor

I'll be using these functions to synchronize the existing branch/collection info from pkgdb into PDC.

I'll be using these functions to synchronize the existing branch/collection info from pkgdb into PDC.
Author
Contributor

rebased

rebased
Author
Contributor

1 new commit added

  • Script for syncing all branches from pkgdb to pdc.
**1 new commit added** * Script for syncing all branches from pkgdb to pdc.
Contributor

This needs to be updated.

This needs to be updated.
Contributor

Should use the print function here instead.

Should use the print function here instead.
Contributor

Do we want an SLA or EOL on the master branch?

Do we want an SLA or EOL on the master branch?
Author
Contributor

1 new commit added

  • Update docstring for create-branch.py
**1 new commit added** * Update docstring for create-branch.py
Author
Contributor

Done in b0b8d9c

Done in b0b8d9c
Contributor

The active flag should be set based on if the branch has gone EOL or not.

The critical_path flag should also be set here.

The active flag should be set based on if the branch has gone EOL or not. The critical_path flag should also be set here.
Author
Contributor

Do we have to remember to manually flip the active flag back to False after the eol date expires?

Perhaps active should be a dynamic read-only property from PDC that is True if the branch has at least one non-EOL SLA applied.

Do we have to remember to manually flip the active flag back to False after the eol date expires? Perhaps active should be a dynamic read-only property from PDC that is True if the branch has at least one non-EOL SLA applied.
Author
Contributor

1 new commit added

  • Print function.
**1 new commit added** * Print function.
Author
Contributor

2 new commits added

  • Sync critpath from pkgdb, also.
  • Allow me to start at a different page, if I want (for development).
**2 new commits added** * Sync critpath from pkgdb, also. * Allow me to start at a different page, if I want (for development).
Contributor

+1

+1
Contributor

As discussed on IRC, I will modify the PDC branch API to automatically determine if a branch is active or not.

As discussed on IRC, I will modify the PDC branch API to automatically determine if a branch is active or not.
Author
Contributor

3 new commits added

  • A little throttling to avoid OOM.
  • Thread the other side of the equation too.
  • Split workers out into threads to try and make this faster.
**3 new commits added** * A little throttling to avoid OOM. * Thread the other side of the equation too. * Split workers out into threads to try and make this faster.
Author
Contributor

9 new commits added

  • A little throttling to avoid OOM.
  • Thread the other side of the equation too.
  • Split workers out into threads to try and make this faster.
  • Sync critpath from pkgdb, also.
  • Allow me to start at a different page, if I want (for development).
  • Print function.
  • Update docstring for create-branch.py
  • Script for syncing all branches from pkgdb to pdc.
  • Add script to create new branches in PDC (with SLA/EOL info).
**9 new commits added** * A little throttling to avoid OOM. * Thread the other side of the equation too. * Split workers out into threads to try and make this faster. * Sync critpath from pkgdb, also. * Allow me to start at a different page, if I want (for development). * Print function. * Update docstring for create-branch.py * Script for syncing all branches from pkgdb to pdc. * Add script to create new branches in PDC (with SLA/EOL info).
Author
Contributor

rebased

rebased
Author
Contributor

OK, good to go here.

OK, good to go here.
Author
Contributor

2 new commits added

  • Be explicit about namespaces.
  • Fix pkgdb namespace typo.
**2 new commits added** * Be explicit about namespaces. * Fix pkgdb namespace typo.
Author
Contributor

rebased

rebased
Author
Contributor

Pull-Request has been merged by ralph

Pull-Request has been merged by ralph
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets!6840
No description provided.