List and delete entries from PDC based on prefix #8149

Merged
jnsamyak merged 2 commits from master into master 2026-06-08 03:11:54 +00:00
Owner

Add script to fetch entries from PDC filter them based on name prefix ie. rust-, nodejs- and delete those entries.

Add script to fetch entries from PDC filter them based on name prefix ie. rust-, nodejs- and delete those entries.
Author
Owner

2 new commits added

  • Add script to remove pdc entries based on prefix
  • Add .idea folder to gitignore
**2 new commits added** * ``Add script to remove pdc entries based on prefix`` * ``Add .idea folder to gitignore``
Contributor

What is &fields=name&fields=id for?

What is `&fields=name&fields=id` for?
Contributor

Add "Dry Run" like "====Dry Run====="here for just informational purposes

Add "Dry Run" like "====Dry Run====="here for just informational purposes
Contributor

I think this should be '{0}/rest_api/v1/component-branches/{1}'.format(pdc, component['id']) that is without id/

I think this should be `'{0}/rest_api/v1/component-branches/{1}'.format(pdc, component['id'])` that is without `id/`
Contributor

I think its not needed

I think its not needed
Contributor

Same here, not needed

Same here, not needed
Contributor

Same here, not needed.

Same here, not needed.
Contributor

What is this for?

What is this for?
Author
Owner

What is &fields=name&fields=id for?
it filters only selected fields from the resource.
It speeds up the request a bit.

> What is &fields=name&fields=id for? it filters only selected fields from the resource. It speeds up the request a bit.
Contributor

What is &fields=name&fields=id for?
it filters only selected fields from the resource.
It speeds up the request a bit.

Then +1, no need to remove it.

> > What is &fields=name&fields=id for? > it filters only selected fields from the resource. > It speeds up the request a bit. Then +1, no need to remove it.
Author
Owner

What is this for?
that is folder used by Jet Brains IDE pycharm.

> What is this for? that is folder used by Jet Brains IDE pycharm.
Author
Owner

2 new commits added

  • Add script to remove pdc entries based on prefix
  • Add .idea folder to gitignore
**2 new commits added** * ``Add script to remove pdc entries based on prefix`` * ``Add .idea folder to gitignore``
Contributor

Pull-Request has been merged by mohanboddu

Pull-Request has been merged by mohanboddu
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!8149
No description provided.