Re: HEADS-UP: new update-plist

2018-05-05 Thread Elias M. Mariani
Thanks for the amount of work Marc,
Clearly update-plist is the most difficult part of the porting process
to maintain and develop.
Cheers to that heuristic!

2018-05-05 9:55 GMT-03:00 Marc Espie :
> It's been long in coming.
>
> I'm more or less satisfied with the new update-plist (see my undeadly piece
> about p2k18)
>
> So, right now, the code is about the same size as the old one, but it does
> so much more.
>
> Noticeable new features:
> - handling of multi-packages is sane, it will try to put files in the right
> plists, and succeed very often.
> - it can figure out special @font,@man,@info directories.
> - some special stuff, like /usr/local/shared/doc/pkg-readmes/${FULLPKGNAME}
> and @rcscript, work correctly out-of-the-box.
>
> - variable handling is waaay smarter than it was. Not 100% perfect yet, but
> it *can* figure out empty variable values correctly in a lot of cases.
> python plists are way closer to what they should be.
>
> - calling on dependencies to strip common directories only happen if there
> ARE common directories to strip. Also, inter-multi-packages stripping should
> work correctly.
>
> Contrary to the old version, which I said was broken and I wouldn't touch,
> the new version is actually maintain, and I will try to make it work within
> reasonable limits... there are probably still cases it won't handle, but way
> fewer than before :)
>



HEADS-UP: new update-plist

2018-05-05 Thread Marc Espie
It's been long in coming.

I'm more or less satisfied with the new update-plist (see my undeadly piece
about p2k18)

So, right now, the code is about the same size as the old one, but it does
so much more.

Noticeable new features:
- handling of multi-packages is sane, it will try to put files in the right
plists, and succeed very often.
- it can figure out special @font,@man,@info directories.
- some special stuff, like /usr/local/shared/doc/pkg-readmes/${FULLPKGNAME}
and @rcscript, work correctly out-of-the-box.

- variable handling is waaay smarter than it was. Not 100% perfect yet, but
it *can* figure out empty variable values correctly in a lot of cases.
python plists are way closer to what they should be.

- calling on dependencies to strip common directories only happen if there
ARE common directories to strip. Also, inter-multi-packages stripping should
work correctly.

Contrary to the old version, which I said was broken and I wouldn't touch,
the new version is actually maintain, and I will try to make it work within
reasonable limits... there are probably still cases it won't handle, but way
fewer than before :)