These backups can be located on any HPC machine inside of /home/mooseadmin/auditingbackups/(repository name). Backups are maintained for at least two years, after which, older backups may be removed at any time to free up disk space. The issues/PRs backup is accomplished by hitting the Github API for a JSON file of the issues, using internal Python tools to parse the JSON into a dictionary, then dumping the dictionary into a csv file. This is necessary because repository mirroring between Github and Gitlab does NOT retrieve issues and PRs, due to them being implemented slightly differently between the two services. This is a full backup each time, not an incremental backup. ![]() In addition to this, a cron script is run every two weeks on Friday to manually retrieve all issues and pull requests and copy them into an internal backup csv file. ![]() This is accomplished in two ways - first, a pull mirror is setup from Github to, which updates the source code of all branches whenever pushes are made. To fulfill auditing requirements, this repository must have a backup on an internal service.
0 Comments
Leave a Reply. |