From: Leo Famulari <leo@famulari.name>
To: swedebugia@riseup.net
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add slurm
Date: Mon, 28 Dec 2015 23:31:18 -0500 [thread overview]
Message-ID: <20151229043118.GA2878@jasmine> (raw)
In-Reply-To: <703783d13c12d8834743d02578ec9311@riseup.net>
On Mon, Dec 28, 2015 at 11:00:14PM +0100, swedebugia@riseup.net wrote:
> My first patch ever to a software project. How did I do?
Thanks for your first patch! However, it has some problems that will
need to be fixed.
Did you follow all the steps described in the manual under
"Contributing"?
Please read that section, and make the necessary changes to the patch.
Here are the basic steps to get started, assuming you have installed
Guix from the binary tarball, on another distro:
0) Clone the Guix git repo.
1) Build Guix from the git repo.
`guix environment guix`
`./bootstrap && ./configure --localstatedir=/var && make`
Be careful about the value of '--localstatedir'. '/var' is the
default value if you installed from the Guix binary.
2) Lint your package.
`./pre-inst-env guix lint slurm`
3) Build the package.
`./pre-int-env guix build slurm`
4) Finally, you should test that the software provided by the package
works as expected.
`./pre-inst-env guix environment --ad-hoc slurm`
That will put the Guix-provided slurm in your path for you try out.
5) Format and send the patch. Check `git log` for examples of how to
write commit messages in the desired format.
Hopefully those steps are complete. I wrote them from memory.
> If okay I would like to avoid providing my legal name.
I think that's fine. There is at least one other contributor with the
same preference.
Feel free to ask for help on IRC.
> From 53832a06a61801e9996252506aacad468d54f071 Mon Sep 17 00:00:00 2001
> From: swedebugia <swedebugia@riseup.net>
> Date: Mon, 28 Dec 2015 15:04:21 +0100
> Subject: [PATCH] gnu: Add slurm
>
> ---
> gnu/packages/networking.scm | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index 0a7cde0..d84551d 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -3,6 +3,7 @@
> ;;; Copyright ?? 2015 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright ?? 2015 Mark H Weaver <mhw@netris.org>
> ;;; Copyright ?? 2015 Stefan Reich??r <stefan@xsteve.at>
> +;;; Copyright ?? 2015 swedebugia <swedebugia@riseup.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -187,3 +188,23 @@ needed/wanted real-time traffic statistics of multiple network
> interfaces, with a simple and efficient view on the command line. It is
> intended as a substitute for the PPPStatus and EthStatus projects.")
> (license license:gpl2+)))
> +
> +(define-public slurm
> + (package
> + (name "slurm")
> + (version "0.4.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/mattthias/slurm/archive/upstream/"
> + version ".tar.gz"))
> + (sha256
> + (base32
> + "1b53sckvg1j8510gi4bc48q61191jcc1nvhp5k8f2ywj2p9c0q5r"))))
> + (build-system gnu-build-system)
> + (inputs `(("ncurses" ,ncurses)
> + (home-page "https://github.com/mattthias/slurm")
> + (synopsis "yet another network load monitor")
> + (description
> + "slurm is a generic network load monitor for *BSD, Linux, HP-UX and Solaris. It features 3 graph modes with curses ascii graphics, traffic statistics and works on any interface supported by the kernel.")
> + (license gpl2+)))
> --
> 1.9.1
>
[0]
https://www.gnu.org/software/guix/manual/html_node/Contributing.html
next prev parent reply other threads:[~2015-12-29 4:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 22:00 [PATCH] gnu: Add slurm swedebugia
2015-12-28 23:13 ` Eric Bavier
2015-12-29 4:31 ` Leo Famulari [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-02-10 17:36 [PATCH] gnu: Add slurm-llnl Pjotr Prins
2016-02-11 4:04 ` Eric Bavier
2016-02-11 8:15 ` Pjotr Prins
2016-02-12 12:20 ` Pjotr Prins
2016-02-12 12:30 ` Andreas Enge
2016-02-12 12:31 ` Pjotr Prins
2016-02-12 12:57 ` [PATCH] gnu: Add slurm-wlm Pjotr Prins
2016-02-13 8:59 ` [PATCH] gnu: Add slurm Pjotr Prins
2016-02-13 10:28 ` Andreas Enge
2016-02-13 16:42 ` Pjotr Prins
2016-02-13 17:00 ` Andreas Enge
2016-02-13 17:01 ` Pjotr Prins
2016-02-13 17:20 ` Andreas Enge
2016-02-13 20:13 ` Leo Famulari
2016-02-13 20:34 ` Andreas Enge
2016-02-13 20:40 ` Leo Famulari
2016-02-14 14:22 ` Andreas Enge
2016-02-14 19:08 ` Leo Famulari
2016-02-15 12:09 ` Pjotr Prins
2016-02-15 21:51 ` Andreas Enge
2016-02-16 7:21 ` Pjotr Prins
2016-02-16 9:55 ` Andreas Enge
2016-02-13 20:38 ` Leo Famulari
2016-02-13 21:32 ` Pjotr Prins
2016-02-13 21:43 ` Leo Famulari
2016-02-13 17:13 ` Pjotr Prins
2016-02-13 17:14 Pjotr Prins
2016-02-13 17:18 Pjotr Prins
2016-02-13 17:21 Pjotr Prins
2016-02-13 17:21 Pjotr Prins
2016-02-13 17:22 Pjotr Prins
2016-02-13 17:30 ` Andreas Enge
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=20151229043118.GA2878@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=swedebugia@riseup.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.