summaryrefslogtreecommitdiff
path: root/doc/forum/secret-project_deliverable
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/secret-project_deliverable')
-rw-r--r--doc/forum/secret-project_deliverable/comment_10_df12578135263d7e0a42415532cb04e3._comment11
-rw-r--r--doc/forum/secret-project_deliverable/comment_11_9cbcee2364a499206d5329c5a88a1211._comment73
-rw-r--r--doc/forum/secret-project_deliverable/comment_12_edebbe9056d9dad486c24f3ce226366c._comment15
-rw-r--r--doc/forum/secret-project_deliverable/comment_13_bdb28cfa4990d60f6767fd857a7398d5._comment11
-rw-r--r--doc/forum/secret-project_deliverable/comment_8_30bc5e081916688468e750de6c95aebf._comment36
-rw-r--r--doc/forum/secret-project_deliverable/comment_9_4a6e1a53f5bf5b72aaafba3a7dd45346._comment10
6 files changed, 156 insertions, 0 deletions
diff --git a/doc/forum/secret-project_deliverable/comment_10_df12578135263d7e0a42415532cb04e3._comment b/doc/forum/secret-project_deliverable/comment_10_df12578135263d7e0a42415532cb04e3._comment
new file mode 100644
index 00000000..a3d93892
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_10_df12578135263d7e0a42415532cb04e3._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="stappers@eb96885816da287c29f6f699999434d532149234"
+ nickname="stappers"
+ avatar="http://cdn.libravatar.org/avatar/bf33450acf6fc2a17a8b4e6fc7749c65"
+ subject="unstuck"
+ date="2018-01-02T20:20:24Z"
+ content="""
+After removing the `.stack-work` directory I got beyond the Installer.Types error.
+
+
+"""]]
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 ...
+
+"""]]
diff --git a/doc/forum/secret-project_deliverable/comment_12_edebbe9056d9dad486c24f3ce226366c._comment b/doc/forum/secret-project_deliverable/comment_12_edebbe9056d9dad486c24f3ce226366c._comment
new file mode 100644
index 00000000..43f2dff5
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_12_edebbe9056d9dad486c24f3ce226366c._comment
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="stappers@eb96885816da287c29f6f699999434d532149234"
+ nickname="stappers"
+ avatar="http://cdn.libravatar.org/avatar/bf33450acf6fc2a17a8b4e6fc7749c65"
+ subject="buid should be build"
+ date="2018-01-02T20:46:53Z"
+ content="""
+The
+
+ special buid with stack
+
+in previous comment should have been
+
+ special build with stack
+"""]]
diff --git a/doc/forum/secret-project_deliverable/comment_13_bdb28cfa4990d60f6767fd857a7398d5._comment b/doc/forum/secret-project_deliverable/comment_13_bdb28cfa4990d60f6767fd857a7398d5._comment
new file mode 100644
index 00000000..e7a110bc
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_13_bdb28cfa4990d60f6767fd857a7398d5._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 13"""
+ date="2018-01-02T21:21:49Z"
+ content="""
+Yes, I also found it kind of annoying to need to move /usr/local/propellor
+out of the way when I was working on secret-project. This is why I'd like
+it to be usable without propellor --spin so that directory would not be
+used, but until the bug with that can be fixed, you can't work on
+secret-project with an unrelated other propellor config at the same time.
+"""]]
diff --git a/doc/forum/secret-project_deliverable/comment_8_30bc5e081916688468e750de6c95aebf._comment b/doc/forum/secret-project_deliverable/comment_8_30bc5e081916688468e750de6c95aebf._comment
new file mode 100644
index 00000000..401cd6a9
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_8_30bc5e081916688468e750de6c95aebf._comment
@@ -0,0 +1,36 @@
+[[!comment format=mdwn
+ username="stappers@eb96885816da287c29f6f699999434d532149234"
+ nickname="stappers"
+ avatar="http://cdn.libravatar.org/avatar/bf33450acf6fc2a17a8b4e6fc7749c65"
+ subject="Happy New Year"
+ date="2018-01-01T14:51:59Z"
+ content="""
+ stappers@paddy:~/src/secret-project
+ $ git config propellor.buildsystem stack
+ stappers@paddy:~/src/secret-project
+ $ propellor --spin paddy.gpm.stappers.nl
+ Building all executables for `secret-project' once. After a successful build of all of them, only specified executables will be rebuilt.
+ secret-project-0.0: build (exe)
+ Preprocessing executable 'propellor-config' for secret-project-0.0...
+ [1 of 9] Compiling Installer.Types ( Installer/Types.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-1.24.2.0/build/propellor-config/propellor-config-tmp/Installer/Types.o )
+
+ /home/stappers/src/secret-project/Installer/Types.hs:3:1: error:
+ Failed to load interface for ‘Propellor.Property.Installer.Types’
+ There are files missing in the ‘propellor-5.2.0’ package,
+ try running 'ghc-pkg check'.
+ Use -v to see a list of the files searched for.
+
+ -- While building custom Setup.hs for package secret-project-0.0 using:
+ /home/stappers/.stack/setup-exe-cache/x86_64-linux-nopie/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 \
+ --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-1.24.2.0 build exe:propellor-config \
+ --ghc-options \" -ddump-hi -ddump-to-file\"
+ Process exited with code: ExitFailure 1
+ Propellor build ... failed
+ ** error: Propellor build failed!
+ propellor: Cannot continue!
+ CallStack (from HasCallStack):
+ error, called at src/Propellor/Message.hs:143:9 in main:Propellor.Message
+ stappers@paddy:~/src/secret-project
+ $
+
+"""]]
diff --git a/doc/forum/secret-project_deliverable/comment_9_4a6e1a53f5bf5b72aaafba3a7dd45346._comment b/doc/forum/secret-project_deliverable/comment_9_4a6e1a53f5bf5b72aaafba3a7dd45346._comment
new file mode 100644
index 00000000..c9f45ac3
--- /dev/null
+++ b/doc/forum/secret-project_deliverable/comment_9_4a6e1a53f5bf5b72aaafba3a7dd45346._comment
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 9"""
+ date="2018-01-02T17:14:23Z"
+ content="""
+Since propellor 5.2.0 certianly *does* include the Propellor.Property.Installer.Types
+module, I guess you either have a somehow lost file on your local system
+there, or perhaps you installed a unreleased version of propellor 5.2.0
+from git before that file was added to it.
+"""]]