unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Lirzin <mthl@openmailbox.org>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 02/11] gnu: Add oslotest.
Date: Thu, 16 Jul 2015 13:10:42 +0200	[thread overview]
Message-ID: <87380ofjd9.fsf@openmailbox.org> (raw)
In-Reply-To: <1437003151-23838-3-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Thu, 16 Jul 2015 01:32:22 +0200")

Hi,

I've not test it but I have some stylistic remarks :). Most of them apply
to other parts of your patch and to the other patches.

Cyril Roelandt <tipecaml@gmail.com> writes:

> +(define-public python-mox3
> +  (package
> +  (name "python-mox3")
     ^
It should be indent under the first 'a'.

> +      (uri (string-append
> +             "https://pypi.python.org/packages/source/m/mox3/mox3-"
> +             version
> +             ".tar.gz"))
                ^
In Emacs the indentation is made under the "s" of string-append, but what
about something more compact like this:

   (uri (string-append "https://pypi.python.org/packages/source/m/"
                       "mox3/mox3-" version ".tar.gz"))

> +   `(#:tests? #f)) ;; Circular dependency with python-oslotest
                      ^^
only one ';' should be used for comments on the same line.

> +;; Packages from the Oslo library
> +(define-public python-oslotest

--8<---------------cut here---------------start------------->8---
\f
;;;
;;; Packages from the Oslo library.
;;;

(define-public python-oslotest
--8<---------------cut here---------------end--------------->8---


> +        ("python-six" ,python-six)))
> +    (inputs
> +      `(("python-pbr" ,python-pbr)
                    ^^^
> +        ("python-mox3" ,python-mox3)
> +        ("python-os-client-config" ,python-os-client-config)
> +        ("python-setuptools" ,python-setuptools)
> +        ("python-subunit" ,python-subunit)
> +        ("python-testrepository" ,python-testrepository)
> +        ("python-testscenarios" ,python-testscenarios)
> +        ("python-testtools" ,python-testtools)))

Since the rest is ordered lexicographically... :)

> +  (home-page "http://github.com/ActiveState/appdirs")
> +  (synopsis
> +    "A small Python module for determining appropriate \" +         \"platform-specific dirs, e.g. a \"user data dir\".")
> +  (description
> +    "A small Python module for determining appropriate \" +         \"platform-specific dirs, e.g. a \"user data dir\".")

I guess this is something not intentional.

--
Mathieu Lirzin

  reply	other threads:[~2015-07-16 11:12 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-15 23:32 [PATCH 00/11] Add a few modules from the Oslo library Cyril Roelandt
2015-07-15 23:32 ` [PATCH 01/11] gnu: Bump python-six to 1.9.0 Cyril Roelandt
2015-07-20 17:41   ` Thompson, David
2015-08-09 15:32     ` Cyril Roelandt
2015-07-15 23:32 ` [PATCH 02/11] gnu: Add oslotest Cyril Roelandt
2015-07-16 11:10   ` Mathieu Lirzin [this message]
2015-07-22 22:09     ` Cyril Roelandt
2015-07-20 16:14   ` Thompson, David
2015-07-22 22:13     ` Cyril Roelandt
2015-07-23  1:54       ` Ian Denhardt
2015-07-23  2:06       ` Thompson, David
2015-07-23 13:47         ` Ludovic Courtès
2015-07-23 16:46         ` Cyril Roelandt
2015-07-23 17:13           ` Thompson, David
2015-07-15 23:32 ` [PATCH 03/11] gnu: Add oslo.i18n Cyril Roelandt
2015-07-15 23:32 ` [PATCH 04/11] gnu: Add oslo.config Cyril Roelandt
2015-07-15 23:32 ` [PATCH 05/11] gnu: Add oslo.utils Cyril Roelandt
2015-07-15 23:32 ` [PATCH 06/11] gnu: Add oslo.context Cyril Roelandt
2015-07-15 23:32 ` [PATCH 07/11] gnu: Add oslo.serialization Cyril Roelandt
2015-07-15 23:32 ` [PATCH 08/11] gnu: Add oslo.log Cyril Roelandt
2015-07-15 23:32 ` [PATCH 09/11] gnu: Add oslo.cache Cyril Roelandt
2015-07-22 22:14   ` Cyril Roelandt
2015-07-15 23:32 ` [PATCH 10/11] gnu: Add oslo.middleware Cyril Roelandt
2015-07-15 23:32 ` [PATCH 11/11] gnu: Add oslosphinx Cyril Roelandt

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87380ofjd9.fsf@openmailbox.org \
    --to=mthl@openmailbox.org \
    --cc=guix-devel@gnu.org \
    --cc=tipecaml@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).