summaryrefslogtreecommitdiff
path: root/doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment
diff options
context:
space:
mode:
authorstappers@eb96885816da287c29f6f699999434d5321492342018-01-02 20:43:54 +0000
committeradmin2018-01-02 20:43:54 +0000
commit8acfccfbde8c8e9b5e46236c1cb1549e4bc8896a (patch)
tree564f2b6dce2dea9706c14620a3bf0f10e5d4430e /doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment
parent60fb3f8761918c065fd0298fc69836977ab4d9c0 (diff)
Added a comment: two git repos and one /usr/local/propellor
Diffstat (limited to 'doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment')
-rw-r--r--doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment73
1 files changed, 73 insertions, 0 deletions
diff --git a/doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment b/doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment
new file mode 100644
index 00000000..be3346e3
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment
@@ -0,0 +1,73 @@
+[[!comment format=mdwn
+ username="stappers@eb96885816da287c29f6f699999434d532149234"
+ nickname="stappers"
+ avatar="http://cdn.libravatar.org/avatar/bf33450acf6fc2a17a8b4e6fc7749c65"
+ subject="two git repos and one /usr/local/propellor"
+ date="2018-01-02T20:43:54Z"
+ content="""
+Perhaps I don't understand the secret-project and its special buid with stack.
+
+
+I have a git repo in `~/.propellor` and I have a git repo in `~/src/secret-project`.
+
+
+In the ~/secret-project directory
+
+ $ propellor
+ Pull from central git repository ... done
+ Copying from /home/stappers/src/secret-project/.stack-work/install/x86_64-linux-nopie/lts-8.12/8.0.2/bin/propellor-config to /home/stappers/src/secret-project/.built/propellor-config
+
+ Copied executables to /home/stappers/src/secret-project/.built:
+ - propellor-config
+
+ Warning: Installation path /home/stappers/src/secret-project/.built
+ not found on the PATH environment variable.
+ Propellor build ... done
+ [master fb46460] propellor spin
+ Git commit ... done
+ error: Cannot access URL https://git.joeyh.name/git/secret-project.git/, return code 22
+ fatal: git-http-push failed
+ error: failed to push some refs to 'https://git.joeyh.name/git/secret-project.git'
+ Push to central git repository ... failed
+ Pull from central git repository ... done
+ ** warning: git branch origin/master is not signed with a trusted gpg key; refusing to deploy it! (Running with previous configuration instead.)
+ Sending privdata (11 bytes) to paddy.gpm.stappers.nl ... done
+ remote: Counting objects: 6, done.
+ remote: Compressing objects: 100% (6/6), done.
+ remote: Total 6 (delta 4), reused 0 (delta 0)
+ Sending git update to paddy.gpm.stappers.nl ... done
+ From .
+ * branch HEAD -> FETCH_HEAD
+ fatal: refusing to merge unrelated histories
+ ** error: git merge from client failed
+ propellor: Cannot continue!
+ CallStack (from HasCallStack):
+ error, called at src/Propellor/Message.hs:143:9 in main:Propellor.Message
+ propellor: user error (ssh [\"-o\",\"ControlPath=/home/stappers/.ssh/propellor/paddy.gpm.stappers.nl.sock\",
+ \"-o\",\"ControlMaster=auto\",
+ \"-o\",\"ControlPersist=yes\",
+ \"root@paddy.gpm.stappers.nl\",
+ \"sh -c 'if [ ! -d /usr/local/propellor/.git ] ;
+ then (if ! git --version >/dev/null 2>&1;
+ then apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq --no-install-recommends --no-upgrade -y install git;
+ fi && echo STATUSNeedGitClone) || echo STATUSNeedPrecompiled ;
+ else cd /usr/local/propellor && if ! stack build --dry-run >/dev/null 2>&1;
+ then ( apt-get update ;
+ DEBIAN_FRONTEND=noninteractive apt-get -qq --no-upgrade --no-install-recommends -y install gnupg ;
+ DEBIAN_FRONTEND=noninteractive apt-get -qq --no-upgrade --no-install-recommends -y install haskell-stack ;
+ stack setup ;
+ stack build --only-dependencies :propellor-config) || true;
+ fi&& if ! test -x ./propellor;
+ then stack build :propellor-config && ln -sf $(stack path --dist-dir)/build/propellor-config/propellor-config propellor;
+ fi;
+ if test -x ./propellor && ! ./propellor --check;
+ then stack clean && stack build :propellor-config && ln -sf $(stack path --dist-dir)/build/propellor-config/propellor-config propellor;
+ fi && ./propellor --boot paddy.gpm.stappers.nl ;
+ fi'\"] exited 1)
+ stappers@paddy:~/src/secret-project
+ $
+
+
+The `/usr/local/propellor/` has already a .git directory from ~/.propellor ...
+
+"""]]