jeepyb/jeepyb
Clark Boylan e6653ea2aa Raise an error if acl pushes fail
Previously it was possible for an acl push to fail then we would record
successful acl push via our project cache's sha entry for that acl file.
The reason for this is despite success or failure of the acl push we
continue on without "problems". Unfortunately this can lead to projects
failing to update without any indication this has happened.

Update jeepyb to raise an exception if there is a failure pushing. THis
should prevent the project cache file from being updated and will cause
manage-projects to try again later. The downside to this is we will
short circuit our project handling if there are many updates to perform.
THis seems preferable to silently "succeeding".

Note that we special case read only projects by detecting the error
pushing an acl to a read only project and treating this as success. This
will allow us to delete our cache file and update everythin while
passing over read only projects as is.

Change-Id: I0d1c1160f2a28fc023fd71c8010ddcf6555efa14
2023-01-24 13:41:08 -08:00
..
cmd Raise an error if acl pushes fail 2023-01-24 13:41:08 -08:00
config Allow automatic subscription to DocImpact bugs 2013-11-20 09:09:01 +11:00
__init__.py Renamed to jeepyb. 2012-11-28 09:39:39 -08:00
gerritdb.py Update OpenDev Manual URL in new contributor intro 2020-05-19 19:31:03 +00:00
log.py Add --verbose flag as valid option for logging 2015-09-01 11:58:13 -07:00
projects.py Update ConfigParser imports for python3 2020-03-21 16:42:29 -05:00
translations.py Add a register-zanata-projects script 2015-08-03 11:51:39 +10:00
utils.py Set default branch in .gitreview files when creating project 2020-10-16 09:25:16 -07:00