home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3fe32936f88ea65a6e091966e3500e72b219914d
parent 2d3cbf1b542b8167b696b189cab666a43f3d51a6
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sun, 26 Apr 2020 17:16:28 +0200

Update mrconfig's files 🤶

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/assets/lib.mr | 7++++---
Mmodules/profiles/assets/src.github.mr | 10++++++++--
Mmodules/profiles/assets/src.mr | 7+++++--
Amodules/profiles/assets/src.pkgs.devel.redhat.mr | 29+++++++++++++++++++++++++++++
Mmodules/profiles/dev.nix | 1+
5 files changed, 47 insertions(+), 7 deletions(-)

diff --git a/modules/profiles/assets/lib.mr b/modules/profiles/assets/lib.mr @@ -3,10 +3,11 @@ lib = BASE="${HOME}/src/" my_git_clone() { - URL="${BASE_HOST}${MR_REPO//${BASE}${BASE_HOST}/}.git" + USERNAME=${GIT_USERNAME:-git} + GIT_PREFIX=${GIT_PREFIX} + URL="${GIT_PREFIX}${USERNAME}@${BASE_HOST}${MR_REPO//${BASE}${BASE_HOST}/}.git" git clone $URL $MR_REPO } - checkout = my_git_clone git_gc = git gc "$@" # git_u = git pull --rebase --autostash "$@" @@ -20,4 +21,4 @@ git_u = echo "Rebase ${REMOTE}/master on master" git rebase ${REMOTE}/master master git co $CURRENT_BRANCH -skip = [ $1 = "clone" ] && lazy +skip = [ $1 != "checkout" ] && lazy diff --git a/modules/profiles/assets/src.github.mr b/modules/profiles/assets/src.github.mr @@ -4,8 +4,14 @@ include = cat ${HOME}/.config/mr lib = export BASE_HOST="github.com" +[tektoncd/catalog] +[tektoncd/cli] +[tektoncd/community] +[tektoncd/dashboard] +[tektoncd/experimental] +[tektoncd/friends] +[tektoncd/homebrew-tools] [tektoncd/pipeline] +[tektoncd/plumbing] [tektoncd/triggers] -[tektoncd/experimental] [tektoncd/website] -[tektoncd/cli] diff --git a/modules/profiles/assets/src.mr b/modules/profiles/assets/src.mr @@ -10,4 +10,8 @@ skip = true [git.sr.ht] chain = true -skip = true- \ No newline at end of file +skip = true + +[pkgs.devel.redhat.com] +chain = true +skip = true diff --git a/modules/profiles/assets/src.pkgs.devel.redhat.mr b/modules/profiles/assets/src.pkgs.devel.redhat.mr @@ -0,0 +1,28 @@ +include = cat ${HOME}/.config/mr + +[DEFAULT] +lib = + export BASE_HOST="pkgs.devel.redhat.com" + export GIT_PREFIX="ssh://" + export GIT_USERNAME=vdemeest + +[containers/openshift-pipelines-bash] +[containers/openshift-pipelines-catalog-buildah] +[containers/openshift-pipelines-controller] +[containers/openshift-pipelines-creds-init] +[containers/openshift-pipelines-entrypoint] +[containers/openshift-pipelines-gcs-fetcher] +[containers/openshift-pipelines-git-init] +[containers/openshift-pipelines-gsutil] +[containers/openshift-pipelines-imagedigestexporter] +[containers/openshift-pipelines-kubeconfigwriter] +[containers/openshift-pipelines-nop] +[containers/openshift-pipelines-operator] +[containers/openshift-pipelines-operator-prod-operator-metadata] +[containers/openshift-pipelines-pullrequest-init] +[containers/openshift-pipelines-triggers-controller] +[containers/openshift-pipelines-triggers-eventlistenersink] +[containers/openshift-pipelines-triggers-webhook] +[containers/openshift-pipelines-webhook] + +[rpms/tektoncd-cli]+ \ No newline at end of file diff --git a/modules/profiles/dev.nix b/modules/profiles/dev.nix @@ -23,6 +23,7 @@ in xdg.configFile."mr".source = ./assets/lib.mr; home.file."src/.mrconfig".source = ./assets/src.mr; home.file."src/github.com/.mrconfig".source = ./assets/src.github.mr; + home.file."src/pkgs.devel.redhat.com/.mrconfig".source = ./assets/src.pkgs.devel.redhat.mr; home.packages = with pkgs; [ binutils