Use with_release_since api argument to retrieve modules that have been
updated since the last date the lister has been executed.
Related T4519
Differential D8777
Puppet: Lister implements incremental mode franckbret on Oct 26 2022, 10:14 AM. Authored by
Details
Use with_release_since api argument to retrieve modules that have been Related T4519
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8777 (id=31637)Rebasing onto 8355fee25f... Current branch diff-target is up to date. Changes applied before testcommit 8a026b816cc977d4bf1718b3057a9253a4eb3e25 Author: Franck Bret <franck.bret@octobus.net> Date: Wed Oct 26 10:09:03 2022 +0200 Puppet: Lister implements incremental mode Use with_release_since api argument to retrieve modules that have been updated since the last date the lister has been executed. Related T4519 See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/834/ for more details.
Comment Actions Ensure we query the api with the same timezone Us/Pacific date as the http api use for querying and expressing results
Comment Actions Build is green Patch application report for D8777 (id=31742)Rebasing onto 60707a45dd... First, rewinding head to replay your work on top of it... Applying: Puppet: Lister implements incremental mode Changes applied before testcommit df1790caa297bc409f147a2a58ac577874e99f63 Author: Franck Bret <franck.bret@octobus.net> Date: Wed Oct 26 10:09:03 2022 +0200 Puppet: Lister implements incremental mode Use with_release_since api argument to retrieve modules that have been updated since the last date the lister has been executed. Related T4519 See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/840/ for more details. Comment Actions State storage is not guaranteed to return the same timezone that was written (postgresql returns the local timezone of the server iirc). You should convert it just before querying the API. Also, hardcoding -7 is not a solution. First, because the API will probably switch from UTC-7 to UTC-8 next Sunday (as the US enter Winter Time). More generally, the API does not guarantee it won't change timezones in the future (especially as the API designers didn't seem to consider timezones at all). So just to be safe, you should remove 15h, which is the lowest timezone recorded in the tzdb. Comment Actions Use an offset of -15h when querying the api which is the lower timezone recorded in the tzdb Comment Actions Build is green Patch application report for D8777 (id=31746)Rebasing onto 60707a45dd... First, rewinding head to replay your work on top of it... Applying: Puppet: Lister implements incremental mode Changes applied before testcommit 5dd180652e4cda7c68b21b28bc1653dc6be0fa91 Author: Franck Bret <franck.bret@octobus.net> Date: Wed Oct 26 10:09:03 2022 +0200 Puppet: Lister implements incremental mode Use with_release_since api argument to retrieve modules that have been updated since the last date the lister has been executed. Related T4519 See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/841/ for more details. Comment Actions Build is green Patch application report for D8777 (id=31805)Rebasing onto e8699422d7... Current branch diff-target is up to date. Changes applied before testcommit e1f3f87c73f4ea25e06bbe3591bd54a9675b1785 Author: Franck Bret <franck.bret@octobus.net> Date: Wed Oct 26 10:09:03 2022 +0200 Puppet: Lister implements incremental mode Use with_release_since api argument to retrieve modules that have been updated since the last date the lister has been executed. Related T4519 See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/854/ for more details. |