topdir.mk / projects-dir.mk: Add get-pub
Add get-pub for top directory / projects directory level. This is a janware specific target needed for CI. It integrates the current master branch from the new Forgejo-based Git repos.
That said, this will likely need to go along with other release machinery. Packaging is good, but releasing over a bunch of directories is an intricate process, as-is only usable by janware itself, and doesn't need to be part of jw-pkg.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ecbe9d20b3
commit
b038baf668
2 changed files with 10 additions and 0 deletions
|
|
@ -312,6 +312,7 @@ diff-all diff: $(SSH_WRAPPER_SH)
|
||||||
|
|
||||||
get-official: git-get-official
|
get-official: git-get-official
|
||||||
get-maintainer: git-get-maintainer
|
get-maintainer: git-get-maintainer
|
||||||
|
get-pub: git-get-pub
|
||||||
get-%: git-get-%
|
get-%: git-get-%
|
||||||
@:
|
@:
|
||||||
|
|
||||||
|
|
@ -345,6 +346,9 @@ git-pull-all: $(SSH_WRAPPER_SH)
|
||||||
git-get-maintainer: $(SSH_WRAPPER_SH)
|
git-get-maintainer: $(SSH_WRAPPER_SH)
|
||||||
PGIT_SH_PROJECTS="$(PROJECTS_WITH_PROJECT_CONF)" $(PGIT_SH) exec make $@
|
PGIT_SH_PROJECTS="$(PROJECTS_WITH_PROJECT_CONF)" $(PGIT_SH) exec make $@
|
||||||
|
|
||||||
|
git-get-pub:
|
||||||
|
PGIT_SH_PROJECTS="$(PROJECTS_WITH_PROJECT_CONF)" $(PGIT_SH) exec make $@
|
||||||
|
|
||||||
git-get-official: $(SSH_WRAPPER_SH)
|
git-get-official: $(SSH_WRAPPER_SH)
|
||||||
PGIT_SH_PROJECTS="$(PROJECTS_WITH_PROJECT_CONF)" $(PGIT_SH) exec make $@
|
PGIT_SH_PROJECTS="$(PROJECTS_WITH_PROJECT_CONF)" $(PGIT_SH) exec make $@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,7 @@ install-links:
|
||||||
|
|
||||||
get-maintainer: git-get-maintainer
|
get-maintainer: git-get-maintainer
|
||||||
get-official: git-get-official
|
get-official: git-get-official
|
||||||
|
get-pub: git-get-pub
|
||||||
|
|
||||||
git-init: git-init.done $(GIT_DESCR)
|
git-init: git-init.done $(GIT_DESCR)
|
||||||
|
|
||||||
|
|
@ -206,6 +207,11 @@ git-get-official:
|
||||||
git-get-maintainer:
|
git-get-maintainer:
|
||||||
make git-get-$(call proj_query,getval global jw-maintainer)
|
make git-get-$(call proj_query,getval global jw-maintainer)
|
||||||
|
|
||||||
|
git-get-pub:
|
||||||
|
if git remote | grep -q "^pub$$"; then \
|
||||||
|
git pull pub master ;\
|
||||||
|
fi
|
||||||
|
|
||||||
git-get-%:
|
git-get-%:
|
||||||
PGIT_SH_PROJECTS=. $(PGIT_SH) get --refspec $*:$(GIT_MAIN_BRANCH):current-branch
|
PGIT_SH_PROJECTS=. $(PGIT_SH) get --refspec $*:$(GIT_MAIN_BRANCH):current-branch
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue