Skip to contentSkip to conversation

patch-o-matic updated

DISCUSSION Martin Josefsson 3 participants 3 messages Apr 7, 2003 – Apr 13, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hi all,

Now patch-o-matic has support for dependencies thanks to Jozsef, great work!

Modifications I've done:

* Disable dependency-checking for reverse and force modes.
* Add support for empty lines / comments in .depend files.
* Add support for conflicting dependencies.
* Re-add support for sourcetree copying which is needed for correct dependency testing (avoids copying when not neccessary).
* Add some dependencies, both normal and conflicting.
* Fix testing and applying of userspace patches.
* Update both kernel- and userspace-patches in userspace/ to make them apply again. Split up into more correct pieces and thus avoid conflicts with other patches.
* Cleanups which resulted in performance improvements (just continued with Jozsef's cleanups).
* Fix problem where circular dependencies were falsely indicated.
* Make userspacepatches work correctly with dependencies.
* Add support for batch testing (--batch --test).
* Fix detection of failed hunks with certain patches.
* More flexible userspace searching.

All changes are in cvs and they _seem_ to work just fine. Can some people please grab p-o-m from cvs and try applying all the patches you usually use and report success or failure to me?

I've started working a little on a script to test p-o-m and report any failures with diffrent patch combinations. I have the easy stuff finished, will work a bit more on it before I release it.

Signature · 1 line
/Martin
#1 lore raw
Quoted 11 lines · Martin Josefsson

Modifications I've done:

* Disable dependency-checking for reverse and force modes.
* Add support for empty lines / comments in .depend files.
* Add support for conflicting dependencies.
* Re-add support for sourcetree copying which is needed for correct dependency testing (avoids copying when not neccessary).
* Add some dependencies, both normal and conflicting.
* Fix testing and applying of userspace patches.
* Update both kernel- and userspace-patches in userspace/ to make them apply again. Split up into more correct pieces and thus avoid

Quoted 8 lines

conflicts with other patches.
* Cleanups which resulted in performance improvements (just continued with Jozsef's cleanups).
* Fix problem where circular dependencies were falsely indicated.
* Make userspacepatches work correctly with dependencies.
* Add support for batch testing (--batch --test).
* Fix detection of failed hunks with certain patches.
* More flexible userspace searching.

Hey, that's excellent! Sooner or later we'll have the patch-o-matic programming language :-).

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#2 lore raw
In reply to Martin Josefsson
Quoted 8 lines · Martin Josefsson

Hi all,

Now patch-o-matic has support for dependencies thanks to Jozsef, great work!

Modifications I've done:
[..]

thanks a lot.

However, before we do more and more of this complicated (and IMHO evil) shell scripting: is anybody considering a clean reimplementation in perl?

Quoted 3 lines

All changes are in cvs and they _seem_ to work just fine. Can some people please grab p-o-m from cvs and try applying all the patches you usually use and report success or failure to me?

I'm planning to release a new version of the patch-o-matic package soon. Please inform me if there are any known problems with your changes.

Quoted 3 lines

I've started working a little on a script to test p-o-m and report any failures with diffrent patch combinations. I have the easy stuff finished, will work a bit more on it before I release it.

great. I hope we then can also test if the p-o-m applies against a given set of kernel versions (i.e. 2.4.18 to 2.4.20-pre7) in an automatic manner.

Quoted 1 line

/Martin

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie