Skip to contentSkip to conversation

update canutils to current version

PATCH In review Vitus Jensen 5 participants 19 messages Aug 13, 2010 – Sep 8, 2010

lore
Share & tools
lore
#0 lore raw

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions. Also only the latest version of libsocketcan will be kept.

#1 lore raw

PATCH 1/3 canutils: remove old version 4.0.4

---
 recipes/socketcan/canutils_4.0.4.bb |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
 delete mode 100644 recipes/socketcan/canutils_4.0.4.bb
recipes/socketcan/canutils_4.0.4.bb deleted +0 -4
deleted file mode 100644
index 9ddb697..0000000
@@ -1,4 +0,0 @@
-TAG = "canutils-${PV}"
-require canutils.inc
-
-PR = "${INC_PR}.0"
Signature · 1 line
1.7.1
Acked-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] canutils: remove old version 4.0.4

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 18 lines

---
 recipes/socketcan/canutils_4.0.4.bb |    4 ----

 1 files changed, 0 insertions(+), 4 deletions(-)

 delete mode 100644 recipes/socketcan/canutils_4.0.4.bb

recipes/socketcan/canutils_4.0.4.bb deleted +0 -5
deleted file mode 100644
index 9ddb697..0000000
@@ -1,4 +0,0 @@
-TAG = "canutils-${PV}"
-require canutils.inc
-
-PR = "${INC_PR}.0"
--
Quoted 2 lines

1.7.1

#3 lore raw

PATCH 2/3 libsocketcan: remove old version 0.0.7

In reply to Vitus Jensen
---
 recipes/socketcan/libsocketcan_0.0.7.bb |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
 delete mode 100644 recipes/socketcan/libsocketcan_0.0.7.bb
recipes/socketcan/libsocketcan_0.0.7.bb deleted +0 -7
deleted file mode 100644
index 18f607e..0000000
@@ -1,7 +0,0 @@
-TAG = "v${PV}"
-require libsocketcan.inc
-
-PR = "${INC_PR}.0"
-
-SRC_URI += "file://install-can_netlink.h.patch;apply=yes \
-	"
Signature · 1 line
1.7.1
Acked-by on v1 2/3
#4 lore raw

Re: [PATCH 2/3] libsocketcan: remove old version 0.0.7

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 13 lines

---
 recipes/socketcan/libsocketcan_0.0.7.bb |    7 -------

 1 files changed, 0 insertions(+), 7 deletions(-)

 delete mode 100644 recipes/socketcan/libsocketcan_0.0.7.bb

recipes/socketcan/libsocketcan_0.0.7.bb deleted +0 -0
deleted file mode 100644
index 18f607e..0000000

recipes/socketcan/libsocketcan_0.0.7.bb

Quoted 8 lines
recipes/socketcan/libsocketcan_0.0.7.bb deleted +0 -8
@@ -1,7 +0,0 @@
-TAG = "v${PV}"
-require libsocketcan.inc
-
-PR = "${INC_PR}.0"
-
-SRC_URI += "file://install-can_netlink.h.patch;apply=yes \
-       "
--
#5 lore raw

PATCH 3/3 canutils: update to version 4.0.6

In reply to Vitus Jensen
---
 recipes/socketcan/canutils_4.0.5.bb |    4 ----
 recipes/socketcan/canutils_4.0.6.bb |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100644 recipes/socketcan/canutils_4.0.5.bb
 create mode 100644 recipes/socketcan/canutils_4.0.6.bb
recipes/socketcan/canutils_4.0.5.bb deleted +0 -4
deleted file mode 100644
index c084bcd..0000000
@@ -1,4 +0,0 @@
-TAG = "v${PV}"
-require canutils.inc
-
-PR = "${INC_PR}.0"
recipes/socketcan/canutils_4.0.6.bb new file +4 -0
new file mode 100644
index 0000000..9ddb697
@@ -0,0 +1,4 @@
+TAG = "canutils-${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"
Signature · 1 line
1.7.1
Acked-by on v1 3/3
#6 lore raw

Re: [PATCH 3/3] canutils: update to version 4.0.6

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 25 lines

---
 recipes/socketcan/canutils_4.0.5.bb |    4 ----
 recipes/socketcan/canutils_4.0.6.bb |    4 ++++

 2 files changed, 4 insertions(+), 4 deletions(-)

 delete mode 100644 recipes/socketcan/canutils_4.0.5.bb create mode 100644 recipes/socketcan/canutils_4.0.6.bb

recipes/socketcan/canutils_4.0.5.bb deleted +0 -4
deleted file mode 100644
index c084bcd..0000000
@@ -1,4 +0,0 @@
-TAG = "v${PV}"
-require canutils.inc
-
-PR = "${INC_PR}.0"
recipes/socketcan/canutils_4.0.6.bb new file +0 -0
new file mode 100644
index 0000000..9ddb697

recipes/socketcan/canutils_4.0.6.bb

Quoted 5 lines
recipes/socketcan/canutils_4.0.6.bb new file +4 -1
@@ -0,0 +1,4 @@
+TAG = "canutils-${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"
--
#7 lore raw
In reply to Vitus Jensen
Quoted 3 lines · Vitus Jensen

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions. Also only the latest version of libsocketcan will be kept.

Frans, thank you for the ACKs. Could you please apply the patches, too? I have no right to do so.

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#8 lore raw

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 8 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Frans, thank you for the ACKs.  Could you please apply the patches, too? I have no right to do so.

Applied. Thanks for the contribution

System guru's: Vitus's patches did not show up in patchwork

Frans

#9 lore raw
Quoted 7 lines · Frans Meulenbroeks

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 6 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Quoted 6 lines
Quoted 2 lines

Frans, thank you for the ACKs.  Could you please apply the patches, too? I have no right to do so.

Applied. Thanks for the contribution

System guru's: Vitus's patches did not show up in patchwork

They did. But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required". I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

http://wiki.openembedded.net/index.php/Patchwork doesn't describe states, only that you should change them :(

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#10 lore raw

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 23 lines · Frans Meulenbroeks
Quoted 9 lines

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 7 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Quoted 7 lines
Quoted 3 lines

Frans, thank you for the ACKs.  Could you please apply the patches, too? I
have no right to do so.

Applied. Thanks for the contribution

System guru's: Vitus's patches did not show up in patchwork

They did.  But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required".  I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

Quoted 5 lines

http://wiki.openembedded.net/index.php/Patchwork doesn't describe states, only that you should change them :(

Vitus

Ah ok. Actually I only peeked at the new ones.
Most people tend not to change the patchwork values so I didn't think of looking at the other states
and I use patchwork to download the patches, much simpler than getting them from gmail.

Wrt the states: that is indeed not too clear. I always have doubts what I should to with the archived checkbox.

Anyway, your changes are in, so please change the state in patchwork from Accepted to Applied.

Frans

#11 lore raw
In reply to Vitus Jensen
Quoted 14 lines · Vitus Jensen
Quoted 12 lines · Frans Meulenbroeks

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 10 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Frans, thank you for the ACKs.  Could you please apply the patches, too? I
have no right to do so.

Quoted 8 lines
Quoted 3 lines

Applied. Thanks for the contribution

System guru's: Vitus's patches did not show up in patchwork

They did.  But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required".  I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

If they got applied change the state to 'applied'

Quoted 15 lines

http://wiki.openembedded.net/index.php/Patchwork doesn't describe states, only that you should change them :(

Vitus

--
Vitus Jensen, Hannover, Germany, Universe (current) pgp public key available from keyservers

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#12 lore raw
Quoted 13 lines · Khem Raj
Quoted 12 lines · Vitus Jensen
Quoted 11 lines · Frans Meulenbroeks

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 7 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Frans, thank you for the ACKs.  Could you please apply the patches, too? I have no right to do so.

Applied. Thanks for the contribution

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

System guru's: Vitus's patches did not show up in patchwork

They did.  But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required".  I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

If they got applied change the state to 'applied'

Sure, already did! Do I set the 'archive' bit, too?

Frans got hit by the fact, that 'accepted' patches don't show up in the list by default.

Vitus posts patches
Frans acks patches
Vitus changes state to 'accepted'
Vitus asks Frans to apply
Frans: where are those patches in patchwork???
Frans forces his googlemail to produce usable mail and applies Vitus changes state to 'applied'

Probably I should update the wiki to document the above procedure, right?

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#13 lore raw

patch queue/patchwork: How should states be used? (was: update canutils to current version)

Am Freitag, den 13.08.2010, 23:01 +0200 schrieb Vitus Jensen:

Quoted 2 lines · Khem Raj
Quoted 1 line · Vitus Jensen

[…]

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

They did. But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required". I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

If they got applied change the state to 'applied'

Sure, already did! Do I set the 'archive' bit, too?

I think so. Yes.

Quoted 10 lines

Frans got hit by the fact, that 'accepted' patches don't show up in the list by default.

Vitus posts patches
Frans acks patches
Vitus changes state to 'accepted'
Vitus asks Frans to apply
Frans: where are those patches in patchwork???
Frans forces his googlemail to produce usable mail and applies Vitus changes state to 'applied'

I would also advise to set the commit ID when setting the state to applied. Actually this can be done automatically [2], but the administrators have not yet had time to address this.

We have the following 11 states.

        $ pwclient state
        ID    Name
        --    ----
        1     New
        2     Under Review
        3     Accepted
        4     Rejected
        5     RFC
        6     Not Applicable
        7     Changes Requested
        8     Awaiting Upstream
        9     Superseded
        10    Deferred
        11    Applied

What is the difference between 3 (Accepted) and 8 (Awaiting Upstream)?

Quoted 1 line

Probably I should update the wiki [1] to document the above procedure, right?

That would be great. But before there should be reached a little consensus to save you some unnecessary work.

I guess the accepted state is too much work and could be skipped?

+ Normally people reviewing and acknowledging patches have commit access and will do this shortly afterward.
- People with commit access not searching the list and just looking at the patch queue would see that those patches have been reviewed and acknowledged and could commit these patches.

I do not know if we already have some people taking care of the patch queue. If there are such folks, they should voice their opinion what they prefer.

Thanks,

Paul

[1] http://wiki.openembedded.net/index.php/Patchwork
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-August/022588.html

#14 lore raw

Re: patch queue/patchwork: How should states be used? (was: update canutils to current version)

2010/8/13 Paul Menzel <[email protected]>:

Quoted 49 lines

Am Freitag, den 13.08.2010, 23:01 +0200 schrieb Vitus Jensen:

Quoted 2 lines · Khem Raj
Quoted 1 line · Vitus Jensen

[…]

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

They did.  But after you posted you ACKs I changed their state to "Accepted" and then they are usually filtered by "Action Required".  I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

If they got applied change the state to 'applied'

Sure, already did!  Do I set the 'archive' bit, too?

I think so. Yes.

Quoted 10 lines

Frans got hit by the fact, that 'accepted' patches don't show up in the list by default.

Vitus posts patches
Frans acks patches
Vitus changes state to 'accepted'
Vitus asks Frans to apply
Frans: where are those patches in patchwork???
Frans forces his googlemail to produce usable mail and applies Vitus changes state to 'applied'

I would also advise to set the commit ID when setting the state to applied. Actually this can be done automatically [2], but the administrators have not yet had time to address this.

We have the following 11 states.

       $ pwclient state
       ID    Name
       --    ----
       1     New
       2     Under Review
       3     Accepted
       4     Rejected
       5     RFC
       6     Not Applicable
       7     Changes Requested
       8     Awaiting Upstream
       9     Superseded
       10    Deferred
       11    Applied
Quoted 1 line

What is the difference between 3 (Accepted) and 8 (Awaiting Upstream)?

I'd say awaiting upstream would be a situation where the patch has been submitted upstream (e.g. for gcc to the gcc devs) and we're waiting for their reaction.
But that is just my guess.

Quoted 6 lines
Quoted 2 lines

Probably I should update the wiki [1] to document the above procedure, right?

That would be great. But before there should be reached a little consensus to save you some unnecessary work.

Quoted 7 lines

I guess the accepted state is too much work and could be skipped?

+ Normally people reviewing and acknowledging patches have commit access and will do this shortly afterward.
- People with commit access not searching the list and just looking at the patch queue would see that those patches have been reviewed and acknowledged and could commit these patches.

Typically if I see something pass by that is straightforward (like the patches from Vitus) and I have the time and my tree is in a state that I can easily apply it, I take the patch and push it (after reviewing). The rule I apply on myself is: if it is something that I woud push myself without further review (e.g. a single recipe like the canbus ones), I take it and push it and update patchwork. That is after testing that the recipe builds.
so the workflow here is:

if it is a patch in an area I do not understand I'll skip it. otherwise:

review patch. if ok and it is a simple patch
download patch from patchwork in mbox fmt
git am patch
bitbake recipe
if ok, git push.

if the patch is not ok, I inform the poster. I hardly ever repair things myself. I'd rather educate people to do things the proper way.

And if the patch is complicated (e.g. affects the toolchain) I also review and if possibly try then ack (or nak).

But sometimes I am not in a position to push (e..g because my system or me is too busy with something else, or because my tree has too much changes on it or is not up to date and cannot be updated) In that case I tend to ack (and I might pick it up later) This is what happened with vitus' recipe.

Quoted 4 lines

I do not know if we already have some people taking care of the patch queue. If there are such folks, they should voice their opinion what they prefer.

I feel taking in and handling patches is partly an orphaned process. If a patch is submitted by someone with commit access for reveiw, typically that person will follow up on it.
If it is e.g. a new recipe or in an area that is not really taken care of by someone, it is sheer luck if someone picks it up.
I feel recipe maintainers could be useful here.

(btw recipe maintainers could also be useful when it comes to handling bug reports in bugzilla).

Frans

#15 lore raw

Re: patch queue/patchwork: How should states be used? (was: update canutils to current version)

Quoted 5 lines · Frans Meulenbroeks

review patch. if ok and it is a simple patch
download patch from patchwork in mbox fmt
git am patch
bitbake recipe
if ok, git push.

check contrib/patchwork/pw-am.sh to simplify steps 2 and 3.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#16 lore raw

Re: patch queue/patchwork: How should states be used?

In reply to Paul Menzel
Quoted 8 lines · Paul Menzel

Am Freitag, den 13.08.2010, 23:01 +0200 schrieb Vitus Jensen:

Quoted 2 lines · Khem Raj
Quoted 1 line · Vitus Jensen

I would also advise to set the commit ID when setting the state to applied. Actually this can be done automatically [2], but the administrators have not yet had time to address this.

This requires the pwclient script which people without commit access probably don't use. Well, I don't use it.

Quoted 17 lines

We have the following 11 states.

       $ pwclient state
       ID    Name
       --    ----
       1     New
       2     Under Review
       3     Accepted
       4     Rejected
       5     RFC
       6     Not Applicable
       7     Changes Requested
       8     Awaiting Upstream
       9     Superseded
       10    Deferred
       11    Applied
Quoted 1 line

What is the difference between 3 (Accepted) and 8 (Awaiting Upstream)?

In which state should the "Archived" flag be set? What is the effect of that flag? And do we really need all those states? Rejected, Not Applicable, Changes Requested, Deferred? IMHO that's Rejected, refer to the mail archive for details.

BTW: who removes patches from patchwork? I do have some patches in "Superseded" state which I no longer care about.

Vitus

Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers
#17 lore raw

Re: patch queue/patchwork: How should states be used?

2010/9/7 Vitus Jensen <[email protected]>:

Quoted 3 lines

BTW: who removes patches from patchwork?  I do have some patches in "Superseded" state which I no longer care about.

You can do that yourself. If I recall correctly it requires that you create an account on patchwork with the same email address as the patches come from.

Frans

#18 lore raw
In reply to Vitus Jensen

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 43 lines · Khem Raj
Quoted 20 lines · Vitus Jensen
Quoted 18 lines · Frans Meulenbroeks
Quoted 15 lines

2010/8/13 Vitus Jensen <[email protected]>:

Quoted 9 lines · Vitus Jensen
Quoted 4 lines

The following patches will update canutils to the current version 4.0.6 and remove older 4.0.x versions.  Also only the latest version of libsocketcan will be kept.

Frans, thank you for the ACKs.  Could you please apply the patches, too? I have no right to do so.

Applied. Thanks for the contribution

System guru's: Vitus's patches did not show up in patchwork

Quoted 7 lines
Quoted 5 lines

They did.  But after you posted you ACKs I changed their state to "Accepted"
and then they are usually filtered by "Action Required".  I'm not really sure I did the right thing but I don't believe they shouldn't remain in "New".

If they got applied change the state to 'applied'

Sure, already did!  Do I set the 'archive' bit, too?

Frans got hit by the fact, that 'accepted' patches don't show up in the list by default.

Vitus posts patches
Frans acks patches
Vitus changes state to 'accepted'
Vitus asks Frans to apply
Frans: where are those patches in patchwork???
Frans forces his googlemail to produce usable mail and applies Vitus changes state to 'applied'

Quoted 2 lines

Probably I should update the wiki to document the above procedure, right?

I saw a different thread from Paul on patchwork.
Let's discuss this in that thread.

Frans