Project

Profile

Help

Task #8012

Need a way to track when versions for a collection has been updated

Added by fao89 9 months ago. Updated 7 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 90
Quarter:
Q4-2020

Description

The work in https://github.com/ansible/ansible/pull/71904 is trying to reduce the number of calls the ansible-galaxy CLI needs to do in order to install a collection. One thing that is cached is the versions that are advertised by a collection through '{api}/collections/{namespace}/{name}/versions/'. While the cache will have a certain time to live the cli still needs a way to determine if the cached version list is up to date or not.

The current method is to check if the highest_version or updated_at field has changed but currently they only reflect if a higher version was published and not any version. For example if namespace.name was published at 1.1.0 at 7am and then 1.0.1 at 10am the updated_at field will still only show 7am due to 1.1.0 being a higher version. What I am hoping for is the updated_at field to show the timestamp at which the latest version was published, this case being 10am.


Related issues

Copied from Ansible Plugin - Issue #7775: Need a way to track when versions for a collection has been updatedCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 36784443 View on GitHub
Added by Fabricio Aguiar 7 months ago

Improve query at the collections endpoint

https://pulp.plan.io/issues/8012 closes #8012

History

#1 Updated by fao89 9 months ago

  • Copied from Issue #7775: Need a way to track when versions for a collection has been updated added

#2 Updated by rchan 9 months ago

  • Sprint changed from Sprint 87 to Sprint 88

#3 Updated by rchan 8 months ago

  • Sprint changed from Sprint 88 to Sprint 89

#4 Updated by rchan 8 months ago

  • Sprint changed from Sprint 89 to Sprint 90

#5 Updated by pulpbot 7 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by Anonymous 7 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by fao89 7 months ago

  • Sprint/Milestone set to 0.7.0

#8 Updated by pulpbot 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF