diff mbox series

[bug#40040] Resubmission of patch for Package Description for CRAN Package r-crochet

Message ID 28572a3c-98f8-d9c9-dbbe-eae6e7b55982@riseup.net
State Accepted
Headers show
Series [bug#40040] Resubmission of patch for Package Description for CRAN Package r-crochet | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Naga Malleswari March 19, 2020, 8:13 a.m. UTC
Hi

Resubmitting v3 of my patch. I really hope i did the changes right.

I am going through documentation and learning the things. For seeking 
clarification, Is there any other way i can communicate with you or the 
community. I have joined IRC channel as well #guix on freenode.

On 17/03/20 3:20 pm, Danny Milosavljevic wrote:
> Hi,
>
> there's a whitespace error at the bottom of the patch.  When I try to apply it
> using "git am" I immediately get a warning message.
>
> Also, the subject you used "gnu: r-crochet: New variable" would mean that
> you add a new variable inside r-chochet, which you don't.
>
> It should be: "gnu: Add r-crochet".
>
> and
>
> "* gnu/packages/cran.scm (r-crochet): New variable.".
>
> Please examine some other commit messages in guix master for a template.

I have done the changes and understood.

> I've invoked guix lint and I get:
>
> gnu/packages/cran.scm:20813:6: r-crochet@2.2.0: use @code or similar ornament instead of quotes
> /home/dannym/src/guix-r/guix/gnu/packages/cran.scm:20814:0: r-crochet@2.2.0: trailing white space on line 20814
> /home/dannym/src/guix-r/guix/gnu/packages/cran.scm:20815:0: r-crochet@2.2.0: trailing white space on line 20815

I am a beginner at this stuff. I am understanding the standards. I have 
invoked lint and found no errors.


> Could you fix these problems and submit a new version (v3) of the patch
> (using git send-email --to=40040@debbugs.gnu.org , for example)?

Comments

Danny Milosavljevic March 19, 2020, 11:38 a.m. UTC | #1
Hi Naga,

On Thu, 19 Mar 2020 13:43:30 +0530
Naga Malleswari <nagamalli@riseup.net> wrote:

> Resubmitting v3 of my patch. I really hope i did the changes right.

There's still an extra newline at the end of your file.
"git am" still complained.

Also, we are using automated tools to apply these patches.  For that to work
right without manual fiddling, please put eventual mail text below the "---"
and above the "diff" (so it's filtered out by the automated tool).

This time, I had to edit the commit message to remove this conversation
from the git log.

> I am going through documentation and learning the things. For seeking 
> clarification, Is there any other way i can communicate with you or the 
> community. I have joined IRC channel as well #guix on freenode.

For me, E-Mail is fine.  Some other Guix developers are on IRC in #guix
on freenode.

Note: It's better to put the version "v3" also in the subject line.

I've checked the license and I don't think that r-crochet is Free Software
or that the license is expat.  How did you determine the value of the
license field?
Naga Malleswari March 19, 2020, 5:35 p.m. UTC | #2
Hi

On 19/03/20 5:08 pm, Danny Milosavljevic wrote:
> Hi Naga,
>
> On Thu, 19 Mar 2020 13:43:30 +0530
> Naga Malleswari <nagamalli@riseup.net> wrote:
>
>> Resubmitting v3 of my patch. I really hope i did the changes right.
> There's still an extra newline at the end of your file.
> "git am" still complained.
Understood I will remove it. It dint showup in lint. I will fix that.
>
> Also, we are using automated tools to apply these patches.  For that to work
> right without manual fiddling, please put eventual mail text below the "---"
> and above the "diff" (so it's filtered out by the automated tool).

Actually i dint get the "Eventual mail text" part. All i have is this in
the patch file

---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff

> This time, I had to edit the commit message to remove this conversation
> from the git log.
>
>> I am going through documentation and learning the things. For seeking 
>> clarification, Is there any other way i can communicate with you or the 
>> community. I have joined IRC channel as well #guix on freenode.
> For me, E-Mail is fine.  Some other Guix developers are on IRC in #guix
> on freenode.
>
> Note: It's better to put the version "v3" also in the subject line.
>
> I've checked the license and I don't think that r-crochet is Free Software
> or that the license is expat.  How did you determine the value of the
> license field?

Yes, you are correct. I have downloaded package description through 
guix import cran -r <package>. This resulted expat licence.

But its showing as MIT in the following link.

https://cran.r-project.org/web/packages/crochet/

The authors github page shows a file licence. Does it mean there is no
proper licensing applied for the package? In that case what should we do.


I have tried to check with previous package contributions in cran.scm
and found mismatch to whats available in website, source page to that of
result from guix import cran -r

r-isoband is showing expat in guix import,   MIT in website(
https://cran.r-project.org/web/packages/isoband/index.html) ,  git page
shows a file https://github.com/wilkelab/isoband

r-hrbrthemes is showing expat in guix import,   MIT in website,  git
page shows a file
Danny Milosavljevic March 19, 2020, 5:53 p.m. UTC | #3
Hi Naga,

On Thu, 19 Mar 2020 23:05:35 +0530
Naga Malleswari <nagamalli@riseup.net> wrote:

> > Also, we are using automated tools to apply these patches.  For that to work
> > right without manual fiddling, please put eventual mail text below the "---"
> > and above the "diff" (so it's filtered out by the automated tool).  
> 
> Actually i dint get the "Eventual mail text" part. All i have is this in
> the patch file

Nevermind, I'll just edit it.

> Yes, you are correct. I have downloaded package description through 
> guix import cran -r <package>. This resulted expat licence.
> 
> But its showing as MIT in the following link.
> 
> https://cran.r-project.org/web/packages/crochet/

Hmm, that looks better.  Weird.

But just judging from https://github.com/agrueneberg/crochet , I wouldn't
have thought that that was under MIT license.  The only mention there
is in the DESCRIPTION file.  Is that enough for Guix?

> The authors github page shows a file licence. Does it mean there is no
> proper licensing applied for the package? In that case what should we do.

Let's wait until someone knowledgeable in CRAN posts.

Could you open an issue on https://github.com/agrueneberg/crochet asking
them to put an Expat license file into the project if that's their intention?

> r-isoband is showing expat in guix import,   MIT in website(
> https://cran.r-project.org/web/packages/isoband/index.html) ,  git page
> shows a file https://github.com/wilkelab/isoband

That has a file LICENSE.md which makes the situation a lot clearer
for that package.

> MIT [...] Expat

MIT is an ambiguous reference, actually it can be either Expat or X11.

See also https://en.wikipedia.org/wiki/MIT_License
Naga Malleswari March 19, 2020, 6:01 p.m. UTC | #4
On 19/03/20 11:23 pm, Danny Milosavljevic wrote:
> Hi Naga,
>
> On Thu, 19 Mar 2020 23:05:35 +0530
> Naga Malleswari <nagamalli@riseup.net> wrote:
>
>>> Also, we are using automated tools to apply these patches.  For that to work
>>> right without manual fiddling, please put eventual mail text below the "---"
>>> and above the "diff" (so it's filtered out by the automated tool).  
>> Actually i dint get the "Eventual mail text" part. All i have is this in
>> the patch file
> Nevermind, I'll just edit it.
>
>> Yes, you are correct. I have downloaded package description through 
>> guix import cran -r <package>. This resulted expat licence.
>>
>> But its showing as MIT in the following link.
>>
>> https://cran.r-project.org/web/packages/crochet/
> Hmm, that looks better.  Weird.
>
> But just judging from https://github.com/agrueneberg/crochet , I wouldn't
> have thought that that was under MIT license.  The only mention there
> is in the DESCRIPTION file.  Is that enough for Guix?
>
>> The authors github page shows a file licence. Does it mean there is no
>> proper licensing applied for the package? In that case what should we do.
> Let's wait until someone knowledgeable in CRAN posts.
>
> Could you open an issue on https://github.com/agrueneberg/crochet asking
> them to put an Expat license file into the project if that's their intention?
I will do that. Meanwhile i will write package definition another
package. Would that be a correct?
>
>> r-isoband is showing expat in guix import,   MIT in website(
>> https://cran.r-project.org/web/packages/isoband/index.html) ,  git page
>> shows a file https://github.com/wilkelab/isoband
> That has a file LICENSE.md which makes the situation a lot clearer
> for that package.


Understood.

But r-hrbrthmes package in cran.scm no license file is found.

https://github.com/hrbrmstr/hrbrthemes

>
>> MIT [...] Expat
> MIT is an ambiguous reference, actually it can be either Expat or X11.
>
> See also https://en.wikipedia.org/wiki/MIT_License
Naga Malleswari March 20, 2020, 5:40 p.m. UTC | #5
Hi

On 19/03/20 11:23 pm, Danny Milosavljevic wrote:

> Yes, you are correct. I have downloaded package description through 
> guix import cran -r <package>. This resulted expat licence.
>
> But its showing as MIT in the following link.
>
> https://cran.r-project.org/web/packages/crochet/
> Hmm, that looks better.  Weird.
>
> But just judging from https://github.com/agrueneberg/crochet , I wouldn't
> have thought that that was under MIT license.  The only mention there
> is in the DESCRIPTION file.  Is that enough for Guix?
>
>> The authors github page shows a file licence. Does it mean there is no
>> proper licensing applied for the package? In that case what should we do.
> Let's wait until someone knowledgeable in CRAN posts.

I have raised the issue and the author said that he followed CRAN
Licensing and included in the description.

https://github.com/agrueneberg/crochet/issues/9

In this case can the patch be approved.

>
> Could you open an issue on https://github.com/agrueneberg/crochet asking
> them to put an Expat license file into the project if that's their intention?
>
>
Danny Milosavljevic March 21, 2020, 1:18 p.m. UTC | #6
Hi Naga,

thanks!

I have pushed the patch to guix master as commit
1163dacd4b4d9d274be5e8393072323435e9236a.
diff mbox series

Patch

From 213ad27a6275d14fe61339ef3adc808f9e8f8b73 Mon Sep 17 00:00:00 2001
From: Naga Malleswari <nagamalli@riseup.net>
Date: Thu, 19 Mar 2020 13:29:05 +0530
Subject: [PATCH] gnu: Add r-crochet.

* gnu/packages/cran.scm (r-crochet): New variable.
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4c18275eaa..90788ba109 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20794,3 +20794,25 @@  statistics and p-values of the correlation coefficients.")
 scales and utilities, including a spell check function for plot label fields
 and an overall emphasis on typography.")
     (license license:expat)))
+
+(define-public r-crochet
+  (package
+    (name "r-crochet")
+    (version "2.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "crochet" version))
+        (sha256
+          (base32
+            "1cbv79nyycxk6f8ldcsnn2pvgxqlnrj0qs19nhafnq2clxy863k6"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/agrueneberg/crochet")
+    (synopsis "Implementation Helper for Matrix-Like Types")
+    (description
+      "Functions to help implement the extraction / subsetting / indexing
+function @code{[} and replacement function @code{[<-} of custom matrix-like
+types (based on S3, S4, etc.), modeled as closely to the base matrix class
+as possible (with tests to prove it).")
+    (license license:expat)))
+
-- 
2.20.1