mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ptxdist migrate should check for local patches in case of package version change
@ 2014-05-24 17:10 Andreas Pretzsch
  2014-05-24 18:02 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Pretzsch @ 2014-05-24 17:10 UTC (permalink / raw)
  To: ptxdist

Scenario: There are local patches against a package in "patches" or
"config/<platform>/patches", which are for one or another legit reason
not (yet) upstream.

Now, when updating to a newer ptxdist version, it is possible that the
version number of such a package changed. Which in turn means that the
local patches are no longer used. Something that can go unnoticed for
quite some time, until the reason for these local patches were added
initially hit.
Just happened here...

Suggestion: Have "ptxdist migrate" check for this situation and issue a
warning.

As I'll be missing the time to look into this for the foreseeable
future, I just throw it in here as an addition to the famous TODO
list ;-)

-- 

carpe noctem engineering
Ingenieurbuero fuer Hard- & Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch          Tel. +49-(0)731-5521572
Hahnengasse 3                             Fax: +49-(0)731-5521571
89073 Ulm, Germany                        email: apr@cn-eng.de


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] ptxdist migrate should check for local patches in case of package version change
  2014-05-24 17:10 [ptxdist] ptxdist migrate should check for local patches in case of package version change Andreas Pretzsch
@ 2014-05-24 18:02 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2014-05-24 18:02 UTC (permalink / raw)
  To: ptxdist

On Sat, May 24, 2014 at 07:10:20PM +0200, Andreas Pretzsch wrote:
> Scenario: There are local patches against a package in "patches" or
> "config/<platform>/patches", which are for one or another legit reason
> not (yet) upstream.
> 
> Now, when updating to a newer ptxdist version, it is possible that the
> version number of such a package changed. Which in turn means that the
> local patches are no longer used. Something that can go unnoticed for
> quite some time, until the reason for these local patches were added
> initially hit.
> Just happened here...
> 
> Suggestion: Have "ptxdist migrate" check for this situation and issue a
> warning.
> 
> As I'll be missing the time to look into this for the foreseeable
> future, I just throw it in here as an addition to the famous TODO
> list ;-)

Great idea!

rsc <- using the right sender address :-)

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-05-24 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-24 17:10 [ptxdist] ptxdist migrate should check for local patches in case of package version change Andreas Pretzsch
2014-05-24 18:02 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox