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

Can the migration script run without a checkout of the repository? #537

Open
Ptival opened this issue Aug 8, 2021 · 0 comments
Open

Can the migration script run without a checkout of the repository? #537

Ptival opened this issue Aug 8, 2021 · 0 comments
Assignees
Labels
enhancement Improvements to an existing feature Migration Relating to the RACK version migration script

Comments

@Ptival
Copy link
Contributor

Ptival commented Aug 8, 2021

When we distribute the migration tool, we do so in a copy of the directory that is not a check out of the git repository.

Yet, to run, the migration script currently depends on being in a git repository, as it tries to run git commands to, for instance, resolve tags to commit IDs.

While the rack_crawl tool definitely needs git to work, it seems like we could pre-compute all relevant data so that rack_migrate no longer needs to be in a git repo. After all, we already have most of the commits data.

I think it is possible to cut this dependency, but I may be forgetting some reason why git access is necessary. I will investigate this possibility soon.

(This was prompted by a request from a user at Boeing.)

@Ptival Ptival added enhancement Improvements to an existing feature Migration Relating to the RACK version migration script labels Aug 8, 2021
@Ptival Ptival self-assigned this Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to an existing feature Migration Relating to the RACK version migration script
Projects
None yet
Development

No branches or pull requests

1 participant