Re: syspatch ideas

2017-05-15 Thread Michal Bozon
On 2017-05-15 Mon 02:50, Theo de Raadt wrote: > ... > This system is intentionally simple, to create robustness via simplicity. > > I think you are being critical because you think it is amusing. > (please not that the subject is still "syspatch ideas") Syspatch

Re: syspatch ideas

2017-05-15 Thread Michal Bozon
On 2017-05-15 Mon 08:19, Michal Bozon wrote: > > > ... > > ... > ... > Reverting the last patchset would be reverting the patches from the last > patchset file, and removing that file. > correction/addition: in the reverse order

Re: syspatch ideas

2017-05-15 Thread Theo de Raadt
>On Mon, May 15, 2017 at 08:36:21AM +, Michal Bozon wrote: >> I think the justification is: >> >> Why do i even need to revert a patch? Only because something got broken >> by the last syspatch command, that may have applied multiple patches. >> I might not now which patch caused the problem.

Re: syspatch ideas

2017-05-15 Thread Andreas Kusalananda Kähäri
On Mon, May 15, 2017 at 08:36:21AM +, Michal Bozon wrote: > On 2017-05-15 Mon 02:23, Theo de Raadt wrote: > > >On 2017-05-15 Mon 01:31, Theo de Raadt wrote: > > >> >2) Notion of transactions > > >> > > > >> >Often, more patches are installed at once, with the single `syspatch` > > >> >command.

Re: syspatch ideas

2017-05-15 Thread Marc Espie
On Mon, May 15, 2017 at 08:36:21AM +, Michal Bozon wrote: > I think the justification is: > > Why do i even need to revert a patch? Only because something got broken > by the last syspatch command, that may have applied multiple patches. > I might not now which patch caused the problem. > > I

Re: syspatch ideas

2017-05-15 Thread Michal Bozon
On 2017-05-15 Mon 02:23, Theo de Raadt wrote: > >On 2017-05-15 Mon 01:31, Theo de Raadt wrote: > >> >2) Notion of transactions > >> > > >> >Often, more patches are installed at once, with the single `syspatch` > >> >command. One might want to be able to revert all those patches at once > >> >as wel

Re: syspatch ideas

2017-05-15 Thread Theo de Raadt
>On 2017-05-15 Mon 01:31, Theo de Raadt wrote: >> >2) Notion of transactions >> > >> >Often, more patches are installed at once, with the single `syspatch` >> >command. One might want to be able to revert all those patches at once >> >as well. A notion of transactions could be made by adding a noti

Re: syspatch ideas

2017-05-15 Thread Michal Bozon
On 2017-05-15 Mon 01:31, Theo de Raadt wrote: > >2) Notion of transactions > > > >Often, more patches are installed at once, with the single `syspatch` > >command. One might want to be able to revert all those patches at once > >as well. A notion of transactions could be made by adding a notion > >

Re: syspatch ideas

2017-05-15 Thread Theo de Raadt
>2) Notion of transactions > >Often, more patches are installed at once, with the single `syspatch` >command. One might want to be able to revert all those patches at once >as well. A notion of transactions could be made by adding a notion >of transactions, but that would add more unnecessary compl

syspatch ideas

2017-05-14 Thread Michal Bozon
Hi, the syspatch utility for now knows only three options: -c(heck for available plugins and list them) -l(ist installed patches - "id"'s only) -r(evert most recent patch) .. and recently apparently also -R(evert all patches) Here are two additional features that would be very useful: 1) -L