Skip to content

Ignore remote_last_update for lbtaskrun yum repo

Chris Burr requested to merge no-repo_additional_information-lbtaskrun into master

I've applied this hack to lhcbprod to make lbinstall ignore the timestamp in the repository JSON file.

I'm not sure how best to handle this properly, a few ideas:

  • Add a flag to force updating the cache and lbtaskrun can be updated to always use this when installing packages.
  • Add an option for not checking the timestamp at all if one isn't included and modify LbAdmin to only update the timestamp if it already has one.

Regardless, it might be simpler to check if this mechanism needed at all as I don't see why updating the metadata for a the of repositories would be slow enough to justify the extra complexity.

Edited by Chris Burr

Merge request reports