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

build(utils/version): add correct git HEAD paths #719

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

tiagolobocastro
Copy link
Contributor

When this is used a dependency for extensions the build.rs for utils-lib ends up adding an invalid git path to the cargo re-runs. This actually causes continuous rebuilding on the extensions repo. Fixes this by ensure the path exists and by checking specifically for the extensions env var.
The latter one is, to put it bluntly, a hack, but atm I don't know else to do it in a quick way.

When this is used a dependency for extensions the build.rs for utils-lib
ends up adding an invalid git path to the cargo re-runs.
This actually causes continuous rebuilding on the extensions repo.
Fixes this by ensure the path exists and by checking specifically for
the extensions env var.
The latter one is, to put it bluntly, a hack, but atm I don't know else
to do it in a quick way.

Signed-off-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

bors merge

bors-openebs-mayastor bot pushed a commit that referenced this pull request Jan 22, 2024
719: build(utils/version): add correct git HEAD paths r=tiagolobocastro a=tiagolobocastro

When this is used a dependency for extensions the build.rs for utils-lib ends up adding an invalid git path to the cargo re-runs. This actually causes continuous rebuilding on the extensions repo. Fixes this by ensure the path exists and by checking specifically for the extensions env var.
The latter one is, to put it bluntly, a hack, but atm I don't know else to do it in a quick way.

Co-authored-by: Tiago Castro <[email protected]>
@tiagolobocastro
Copy link
Contributor Author

bors cancel

@bors-openebs-mayastor
Copy link

Canceled.

@tiagolobocastro
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 6869243 into develop Jan 22, 2024
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the fix-rebuild branch January 22, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants