Commit 3fe32936f88e

Vincent Demeester <vincent@sbr.pm>
2020-04-26 17:16:28
Update mrconfig's files 🤶
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 2d3cbf1
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
modules/profiles/assets/src.github.mr
@@ -4,8 +4,14 @@ include = cat ${HOME}/.config/mr
 lib =
     export BASE_HOST="github.com"
 
-[tektoncd/pipeline]
-[tektoncd/triggers]
-[tektoncd/experimental]
-[tektoncd/website]
+[tektoncd/catalog]
 [tektoncd/cli]
+[tektoncd/community]
+[tektoncd/dashboard]
+[tektoncd/experimental]
+[tektoncd/friends]
+[tektoncd/homebrew-tools]
+[tektoncd/pipeline]
+[tektoncd/plumbing]
+[tektoncd/triggers]
+[tektoncd/website]
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
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
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