-
Notifications
You must be signed in to change notification settings - Fork 3
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
update-repo-wrapper
#437
update-repo-wrapper
#437
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -575,6 +575,20 @@ update-jinja-sparql-queries: | |
python3 $(SCRIPTSDIR)/ordo_mapping_annotations/create_sparql__ordo_replace_annotation_based_mappings.py | ||
python3 $(SCRIPTSDIR)/ordo_mapping_annotations/create_sparql__ordo_mapping_annotations_violation.py | ||
|
||
# update-repo-wrapper | ||
UPDATE_REPO_ODK_TAG := latest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
ifdef ODK_TAG | ||
UPDATE_REPO_ODK_TAG := $(ODK_TAG) | ||
endif | ||
|
||
.PHONY: update-repo-wrapper | ||
update-repo-wrapper: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
@sed -i.bak '/^ODK_TAG=/s/.*/ODK_TAG=${UPDATE_REPO_ODK_TAG}/' run.sh.conf | ||
-$(MAKE) update_repo | ||
-$(MAKE) update_repo | ||
@mv run.sh.conf.bak run.sh.conf | ||
|
||
|
||
############################# | ||
########### Help ############ | ||
############################# | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs
I like this solution. If you guys like it, too, I'll update docs to reference running
update-repo-wrapper
instead ofupdate_repo
:add-new-source.md
:I haven't looked at these files before but there are references to
update_repo
in these.RepoManagement.md
components.md
README-editors.md
Considering all the places where there are docs for
update_repo
, this reinforces my liking of this solution. Otherwise if we went with the SOP solution instead of this, we'd have to add cumbersome references to that in multiple places.I can also add a goal description for it it in:
workflows.md
mondo-ingest.Makefile
'shelp