Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a config maintenance step #252

Closed
derrickstolee opened this issue Nov 27, 2019 · 1 comment · Fixed by #272
Closed

Create a config maintenance step #252

derrickstolee opened this issue Nov 27, 2019 · 1 comment · Fixed by #272
Labels
disk-layout Issues that impact the disk layout used by Scalar
Milestone

Comments

@derrickstolee
Copy link
Contributor

We are no longer "mounting" enlistments, so we do not regularly update the Git config for a Scalar enlistment. As we create new versions, we will want to update the config as necessary. We should also be very careful about the "compat" scenario when someone upgrades and uses their repo before the maintenance step is run. However, it would be good to run the config as soon as possible after the service starts up (and then at some cadence, such as daily?).

@derrickstolee derrickstolee added this to the EA milestone Nov 27, 2019
@derrickstolee derrickstolee added the disk-layout Issues that impact the disk layout used by Scalar label Nov 27, 2019
@github-actions
Copy link

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.

@github-actions github-actions bot added the no-activity Stale issue or PR that will be automatically closed soon. label Dec 27, 2019
@derrickstolee derrickstolee removed the no-activity Stale issue or PR that will be automatically closed soon. label Dec 27, 2019
derrickstolee added a commit that referenced this issue Jan 2, 2020
These commits are cherry-picked from #258 with slight modifications. The functionality here makes sense for repos cloned by Scalar, allowing us to focus later on the interactions with vanilla Git repos.

1. Add `ConfigStep` for running the Git config commands at clone time and as the service starts up. This already has some split for vanilla Git repos, but that code does not get exercised. Resolves #252.
2. The `PackfileMaintenanceStep` attempts to repack all but the largest pack when those packs sum to less than 2gb.
3. Some cleanup things here and there.
4. `scalar repos (add|list)` allows tracking the registered repos. Resolves some of #214.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disk-layout Issues that impact the disk layout used by Scalar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant