unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41345] 000-update-python-argon2-cffi.patch
@ 2020-05-17  4:20 Josh Marshall
  2020-05-20 21:01 ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Marshall @ 2020-05-17  4:20 UTC (permalink / raw)
  To: 41345

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e6208ab3d9..fc451e83ef 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1365,14 +1365,14 @@ I/O-free core, and integration modules for
different event loops.")
 (define-public python-argon2-cffi
   (package
     (name "python-argon2-cffi")
-    (version "19.2.0")
+    (version "20.1.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "argon2-cffi" version))
         (sha256
          (base32
-          "18xxfw30gi3lwaz4vwb05iavzlrk3fa1x9fippzrgd3px8z65apz"))
+          "0zgr4mnnm0p4i99023safb0qb8cgvl202nly1rvylk2b7qnrn0nq"))
         (modules '((guix build utils)))
         (snippet '(begin (delete-file-recursively "extras") #t))))
     (build-system python-build-system)




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-17  4:20 [bug#41345] 000-update-python-argon2-cffi.patch Josh Marshall
@ 2020-05-20 21:01 ` Marius Bakke
  2020-05-20 21:07   ` Josh Marshall
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2020-05-20 21:01 UTC (permalink / raw)
  To: Josh Marshall, 41345

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Hi Josh,

Can you resubmit this patch with a proper commit message?

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-20 21:01 ` Marius Bakke
@ 2020-05-20 21:07   ` Josh Marshall
  2020-05-25 11:55     ` Josh Marshall
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Marshall @ 2020-05-20 21:07 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41345

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

Sure.  This was before I figured out `git send-email`.

On Wed, May 20, 2020, 17:01 Marius Bakke <mbakke@fastmail.com> wrote:

> Hi Josh,
>
> Can you resubmit this patch with a proper commit message?
>
> Thanks!
>

[-- Attachment #2: Type: text/html, Size: 491 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-20 21:07   ` Josh Marshall
@ 2020-05-25 11:55     ` Josh Marshall
  2020-05-25 14:59       ` bug#41345: 000-update-python-argon2-cffi.patch Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Marshall @ 2020-05-25 11:55 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41345

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Resubmitted the patch more properly made.  Looks like it didn't continue
this thread.  How do I close this?

On Wed, May 20, 2020, 17:07 Josh Marshall <joshua.r.marshall.1991@gmail.com>
wrote:

> Sure.  This was before I figured out `git send-email`.
>
> On Wed, May 20, 2020, 17:01 Marius Bakke <mbakke@fastmail.com> wrote:
>
>> Hi Josh,
>>
>> Can you resubmit this patch with a proper commit message?
>>
>> Thanks!
>>
>

[-- Attachment #2: Type: text/html, Size: 998 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41345: 000-update-python-argon2-cffi.patch
  2020-05-25 11:55     ` Josh Marshall
@ 2020-05-25 14:59       ` Marius Bakke
  2020-05-25 16:13         ` [bug#41345] 000-update-python-argon2-cffi.patch Josh Marshall
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2020-05-25 14:59 UTC (permalink / raw)
  To: Josh Marshall; +Cc: 41345-done

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:

> Resubmitted the patch more properly made.  Looks like it didn't continue
> this thread.  How do I close this?

It still did not have a commit message though:

https://git.savannah.gnu.org/cgit/guix.git/log/gnu/packages?id=9813805b30dad444984111d5413b8ab7356f7908

Note how it differs from other package updates, in particular lacking
the '* gnu/packages/file.scm (variable):' line, as well as the "gnu: "
prefix.  No big deal, but try to follow the convention next time.

In any case you can close bugs by appending -done to the issue ID, like
I've done in this message.  Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-25 14:59       ` bug#41345: 000-update-python-argon2-cffi.patch Marius Bakke
@ 2020-05-25 16:13         ` Josh Marshall
  2020-05-25 21:35           ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Marshall @ 2020-05-25 16:13 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41345-done

Here is what I'm doing:
```
git commit -am "Updating python-argon2-cffi to 20.1.0"
git format-patch master
git send-email --to=guix-patches@gnu.org
--subject="000-update-python-argon2-cffi.patch"
0001-Updating-python-argon2-cffi-to-20.1.0.patch
```

When reading https://guix.gnu.org/manual/en/guix.html#Submitting-Patches
I do not see guidance on this particular aspect of sending patches.
What do I need to alter, and should those details be added to the
manual?

On Mon, May 25, 2020 at 10:59 AM Marius Bakke <marius@gnu.org> wrote:
>
> Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:
>
> > Resubmitted the patch more properly made.  Looks like it didn't continue
> > this thread.  How do I close this?
>
> It still did not have a commit message though:
>
> https://git.savannah.gnu.org/cgit/guix.git/log/gnu/packages?id=9813805b30dad444984111d5413b8ab7356f7908
>
> Note how it differs from other package updates, in particular lacking
> the '* gnu/packages/file.scm (variable):' line, as well as the "gnu: "
> prefix.  No big deal, but try to follow the convention next time.
>
> In any case you can close bugs by appending -done to the issue ID, like
> I've done in this message.  Thanks!




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-25 16:13         ` [bug#41345] 000-update-python-argon2-cffi.patch Josh Marshall
@ 2020-05-25 21:35           ` Marius Bakke
  2020-05-25 22:39             ` Josh Marshall
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2020-05-25 21:35 UTC (permalink / raw)
  To: Josh Marshall; +Cc: 41345-done

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:

> When reading https://guix.gnu.org/manual/en/guix.html#Submitting-Patches
> I do not see guidance on this particular aspect of sending patches.
> What do I need to alter, and should those details be added to the
> manual?

It's not very prominent, but it's there:

  Please write commit logs in the ChangeLog format (see Change Logs in
  GNU Coding Standards); you can check the commit history for examples.

With a link to the GNU Coding Standards document:

  https://www.gnu.org/prep/standards/standards.html#Change-Logs

Perhaps we could include a condensed version as it borders on TL;DR.

>  git commit -am "Updating python-argon2-cffi to 20.1.0"

If you omit the -m, git will open your $EDITOR where you can contemplate
on how best to communicate what the patch does, and write over multiple
lines.  There are helper functions in Emacs to fill out the boring
"* gnu/packages/file-name.scm (variable):" part of the commit message.

When unsure, I recommend running "git log the-file.scm" and look at
previous commit messages for inspiration.

Thanks for persevering!  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-25 21:35           ` Marius Bakke
@ 2020-05-25 22:39             ` Josh Marshall
  2020-05-30 13:12               ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Josh Marshall @ 2020-05-25 22:39 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41345-done

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

If those are the particular expectations and standards, should they change
from only policy in the manual to something enforced by a git pre-commit
hook?

On Mon, May 25, 2020, 17:35 Marius Bakke <marius@gnu.org> wrote:

> Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:
>
> > When reading https://guix.gnu.org/manual/en/guix.html#Submitting-Patches
> > I do not see guidance on this particular aspect of sending patches.
> > What do I need to alter, and should those details be added to the
> > manual?
>
> It's not very prominent, but it's there:
>
>   Please write commit logs in the ChangeLog format (see Change Logs in
>   GNU Coding Standards); you can check the commit history for examples.
>
> With a link to the GNU Coding Standards document:
>
>   https://www.gnu.org/prep/standards/standards.html#Change-Logs
>
> Perhaps we could include a condensed version as it borders on TL;DR.
>
> >  git commit -am "Updating python-argon2-cffi to 20.1.0"
>
> If you omit the -m, git will open your $EDITOR where you can contemplate
> on how best to communicate what the patch does, and write over multiple
> lines.  There are helper functions in Emacs to fill out the boring
> "* gnu/packages/file-name.scm (variable):" part of the commit message.
>
> When unsure, I recommend running "git log the-file.scm" and look at
> previous commit messages for inspiration.
>
> Thanks for persevering!  :-)
>

[-- Attachment #2: Type: text/html, Size: 2149 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-25 22:39             ` Josh Marshall
@ 2020-05-30 13:12               ` Marius Bakke
  2020-05-30 16:49                 ` Josh Marshall
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2020-05-30 13:12 UTC (permalink / raw)
  To: Josh Marshall; +Cc: 41345-done

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:

> If those are the particular expectations and standards, should they change
> from only policy in the manual to something enforced by a git pre-commit
> hook?

That's a good idea.  I'm not sure about enforcing, but we could have a
post-commit hook that complains if all the files are not mentioned in
the commit message.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#41345] 000-update-python-argon2-cffi.patch
  2020-05-30 13:12               ` Marius Bakke
@ 2020-05-30 16:49                 ` Josh Marshall
  0 siblings, 0 replies; 10+ messages in thread
From: Josh Marshall @ 2020-05-30 16:49 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41345-done

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

It could also enforce a number of linting details.  That'd save reviewers
time.

On Sat, May 30, 2020, 09:12 Marius Bakke <marius@gnu.org> wrote:

> Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:
>
> > If those are the particular expectations and standards, should they
> change
> > from only policy in the manual to something enforced by a git pre-commit
> > hook?
>
> That's a good idea.  I'm not sure about enforcing, but we could have a
> post-commit hook that complains if all the files are not mentioned in
> the commit message.
>

[-- Attachment #2: Type: text/html, Size: 944 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-30 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17  4:20 [bug#41345] 000-update-python-argon2-cffi.patch Josh Marshall
2020-05-20 21:01 ` Marius Bakke
2020-05-20 21:07   ` Josh Marshall
2020-05-25 11:55     ` Josh Marshall
2020-05-25 14:59       ` bug#41345: 000-update-python-argon2-cffi.patch Marius Bakke
2020-05-25 16:13         ` [bug#41345] 000-update-python-argon2-cffi.patch Josh Marshall
2020-05-25 21:35           ` Marius Bakke
2020-05-25 22:39             ` Josh Marshall
2020-05-30 13:12               ` Marius Bakke
2020-05-30 16:49                 ` Josh Marshall

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).