From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:pending commit in: /, doc/
Date: Fri, 27 Dec 2013 03:02:59 +0000 (UTC) [thread overview]
Message-ID: <1388113154.abc30360f3cb0f03e3711cce7d324fa2e14fee0a.dol-sen@gentoo> (raw)
commit: abc30360f3cb0f03e3711cce7d324fa2e14fee0a
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 25 04:26:38 2013 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Dec 27 02:59:14 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=abc30360
Commit my testpath file with instructions
Make testpath automagic via dwfeed's tweak
Update HOWTO on how to run the git checkout code directly without being installed.
---
doc/HOWTO.txt | 10 ++++++++--
testpath | 18 ++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/doc/HOWTO.txt b/doc/HOWTO.txt
index 5717f80..178f7fc 100644
--- a/doc/HOWTO.txt
+++ b/doc/HOWTO.txt
@@ -208,9 +208,15 @@ Running catalyst from a Git checkout
If you're developing catalyst, you'll want to test your altered
version. An easy way to run it without reinstalling is to setup a
-local configuration file and run:
+local configuration file. The checkout also includes a testpath file
+which when sourced adds it's bin/ to PATH and it's checkout dir to
+PYTHONPATH. That terminal will then use the checkout bin/catalyst and
+the checkout's python modules.
- # ./catalyst -c catalyst.conf -f path/to/your.spec
+cd into the checkout directory and run:
+
+ # source ./testpath
+ # catalyst -c catalyst.conf -f path/to/your.spec
The local configuration file can use all the defaults except for
`sharedir`, which you should change to point to your development
diff --git a/testpath b/testpath
new file mode 100644
index 0000000..0eed300
--- /dev/null
+++ b/testpath
@@ -0,0 +1,18 @@
+
+# edit the following 2 paths to point to your caatalyst git checkout
+# then in a terminal window you wish to run the git code in...
+# cd ~/catalyst
+# source ./testpath
+# edit a config file "test.conf" with similar path changes for it to find
+# and use/run the git checkout code and to store it's data to a test directory
+# it can then be run on a system without being installed or replacing an existing
+# catalyst install which may be used for production.
+#
+# then run catalyst from there
+# eg:
+#
+# catalyst -c ./test.conf -p -f stage1.spec
+
+export PATH="$(dirname $BASH_SOURCE[0])/bin:${PATH}"
+
+export PYTHONPATH="$(dirname $BASH_SOURCE[0]):${PYTHONPATH}"
next reply other threads:[~2013-12-27 3:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 3:02 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-30 1:44 [gentoo-commits] proj/catalyst:pending commit in: /, doc/ Brian Dolbec
2013-12-31 4:22 Brian Dolbec
2013-12-31 4:39 Brian Dolbec
2013-12-31 4:48 Brian Dolbec
2013-12-31 18:14 Brian Dolbec
2014-01-02 0:04 Brian Dolbec
2014-01-03 5:03 Brian Dolbec
2014-01-03 6:12 Brian Dolbec
2014-01-03 6:41 Brian Dolbec
2014-01-22 15:52 Brian Dolbec
2014-02-22 18:43 Brian Dolbec
2014-02-22 21:48 Brian Dolbec
2014-03-02 16:07 Brian Dolbec
2014-03-22 22:25 Brian Dolbec
2014-04-02 20:09 [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-04-02 20:09 ` [gentoo-commits] proj/catalyst:pending " Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1388113154.abc30360f3cb0f03e3711cce7d324fa2e14fee0a.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox