Mounir Lamouri | 3 Sep 2009 14:46
Picon
Gravatar

Re: Dropping support for rollback?

On Thu, Sep 3, 2009 at 2:32 PM, Richard Hughes<hughsient@...> wrote:
> I don't think any of the backends support rollback, even the conary
> one. There's quite a bit of code in the server and clients to support
> this, but if nothing is going to use it I think it makes sense to rip
> it out. Comments?

I don't really see the need of rollback for the user. For sure, it
can't be something to be used as easily as CTRL+Z (undo/redo). So if
it has to exit it can be something in a menu.
In addition, I don't see a lot of things that should be rollbacked:
installl/remove and enable/disable repository ? In this case, I think
the client can implement that himself. If the user install a package,
he can add in a menu: 'Uninstall foo'. If it has been uninstalled, it
will be'Reinstall foo'. The same thing for repositories.

What do you think about this ? :)

Mounir
Andres Vargas - zodman | 3 Sep 2009 18:07
Picon
Gravatar

Re: Dropping support for rollback?

yes conary support rollbacks :) its hard to code because internally the actions of conary divide on Jobs

one job can be a set of actions (update/install/remove)

So if i install packagekit

it install packagekit:devel packagekit:runtime as a Job 1
update packagekit:config as a Job 2


So the rollbacks its not remove installed/updated packages its revert a set of jobs what as applied to system. for back to a before state of Job.


Im have understand the rollbacks its controlled by packagekit reverting install/updates packages. Conary not depend from Packagekit for do a rollbacks. Depends of the Set of jobs applied.

I think a feature for support rollbacks not doing for packagekit( send signals, but not do the actions. ) only by the backend will be great.

other stuff is if conary install packages from cli (without help of packagekit) the packagekit database not updated. Because Packagekit its a GUI fronted of conary....

Can code a some plugin for add packagekit integration with conary from conary cli. But its more work its pending.




On Thu, Sep 3, 2009 at 7:46 AM, Mounir Lamouri <mounir.lamouri-Re5JQEeQqe8@public.gmane.orgm> wrote:
On Thu, Sep 3, 2009 at 2:32 PM, Richard Hughes<hughsient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I don't think any of the backends support rollback, even the conary
> one. There's quite a bit of code in the server and clients to support
> this, but if nothing is going to use it I think it makes sense to rip
> it out. Comments?

I don't really see the need of rollback for the user. For sure, it
can't be something to be used as easily as CTRL+Z (undo/redo). So if
it has to exit it can be something in a menu.
In addition, I don't see a lot of things that should be rollbacked:
installl/remove and enable/disable repository ? In this case, I think
the client can implement that himself. If the user install a package,
he can add in a menu: 'Uninstall foo'. If it has been uninstalled, it
will be'Reinstall foo'. The same thing for repositories.

What do you think about this ? :)

Mounir

<div>
<p>yes conary support rollbacks :) its hard to code because internally the actions of conary divide on Jobs<br><br>one job can be a set of actions (update/install/remove)<br><br>So if i install packagekit<br><br>it install packagekit:devel packagekit:runtime as a Job 1<br>
update packagekit:config as a Job 2<br><br><br>So the rollbacks its not remove installed/updated packages its revert a set of jobs what as applied to system. for back to a before state of Job.<br><br><br>Im have understand the rollbacks its controlled by packagekit reverting install/updates packages. Conary not depend from Packagekit for do a rollbacks. Depends of the Set of jobs applied.<br><br>I think a feature for support rollbacks not doing for packagekit( send signals, but not do the actions. ) only by the backend will be great.<br><br>other stuff is if conary install packages from cli (without help of packagekit) the packagekit database not updated. Because Packagekit its a GUI fronted of conary....<br><br>Can code a some plugin for add packagekit integration with conary from conary cli. But its more work its pending.<br><br><br><br><br></p>
<div class="gmail_quote">On Thu, Sep 3, 2009 at 7:46 AM, Mounir Lamouri <span dir="ltr">&lt;<a href="mailto:mounir.lamouri@...">mounir.lamouri@...m</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div class="im">On Thu, Sep 3, 2009 at 2:32 PM, Richard Hughes&lt;<a href="mailto:hughsient@...">hughsient@...</a>&gt; wrote:<br>

&gt; I don't think any of the backends support rollback, even the conary<br>
&gt; one. There's quite a bit of code in the server and clients to support<br>
&gt; this, but if nothing is going to use it I think it makes sense to rip<br>
&gt; it out. Comments?<br><br>
</div>I don't really see the need of rollback for the user. For sure, it<br>
can't be something to be used as easily as CTRL+Z (undo/redo). So if<br>
it has to exit it can be something in a menu.<br>
In addition, I don't see a lot of things that should be rollbacked:<br>
installl/remove and enable/disable repository ? In this case, I think<br>
the client can implement that himself. If the user install a package,<br>
he can add in a menu: 'Uninstall foo'. If it has been uninstalled, it<br>
will be'Reinstall foo'. The same thing for repositories.<br><br>
What do you think about this ? :)<br><br>
Mounir<br><div>
<div></div>
<div class="h5">_______________________________________________<br>
PackageKit mailing list<br><a href="mailto:PackageKit@...">PackageKit@...sktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
Andres Vargas - zodman | 3 Sep 2009 18:12
Picon
Gravatar

Re: Dropping support for rollback?

the backend conary of Packagekit will support rollbacks(im try to
work on it) .. i think not drop it.

On 9/3/09, Andres Vargas - zodman <zodman@...> wrote:
> yes conary support rollbacks :) its hard to code because internally the
> actions of conary divide on Jobs
>
> one job can be a set of actions (update/install/remove)
>
> So if i install packagekit
>
> it install packagekit:devel packagekit:runtime as a Job 1
> update packagekit:config as a Job 2
>
>
> So the rollbacks its not remove installed/updated packages its revert a set
> of jobs what as applied to system. for back to a before state of Job.
>
>
> Im have understand the rollbacks its controlled by packagekit reverting
> install/updates packages. Conary not depend from Packagekit for do a
> rollbacks. Depends of the Set of jobs applied.
>
> I think a feature for support rollbacks not doing for packagekit( send
> signals, but not do the actions. ) only by the backend will be great.
>
> other stuff is if conary install packages from cli (without help of
> packagekit) the packagekit database not updated. Because Packagekit its a
> GUI fronted of conary....
>
> Can code a some plugin for add packagekit integration with conary from
> conary cli. But its more work its pending.
>
>
>
>
> On Thu, Sep 3, 2009 at 7:46 AM, Mounir Lamouri
> <mounir.lamouri@...>wrote:
>
>> On Thu, Sep 3, 2009 at 2:32 PM, Richard Hughes<hughsient@...>
>> wrote:
>> > I don't think any of the backends support rollback, even the conary
>> > one. There's quite a bit of code in the server and clients to support
>> > this, but if nothing is going to use it I think it makes sense to rip
>> > it out. Comments?
>>
>> I don't really see the need of rollback for the user. For sure, it
>> can't be something to be used as easily as CTRL+Z (undo/redo). So if
>> it has to exit it can be something in a menu.
>> In addition, I don't see a lot of things that should be rollbacked:
>> installl/remove and enable/disable repository ? In this case, I think
>> the client can implement that himself. If the user install a package,
>> he can add in a menu: 'Uninstall foo'. If it has been uninstalled, it
>> will be'Reinstall foo'. The same thing for repositories.
>>
>> What do you think about this ? :)
>>
>> Mounir
>> _______________________________________________
>> PackageKit mailing list
>> PackageKit@...
>> http://lists.freedesktop.org/mailman/listinfo/packagekit
>>
>
Richard Hughes | 3 Sep 2009 18:40
Picon

Re: Dropping support for rollback?

2009/9/3 Andres Vargas - zodman <zodman@...>:
> the backend conary of Packagekit will support rollbacks(im try to
> work on it) .. i think not drop it.

Okay, if you're intending to support it, then I'll leave it as it is.

Richard.
Andres Vargas - zodman | 3 Sep 2009 21:02
Picon
Gravatar

Re: Dropping support for rollback?

oohhh Yes!! tnx Richard

The idea here its take and apply all features what have PackageKit. On Foresight distro.

On Thu, Sep 3, 2009 at 11:40 AM, Richard Hughes <hughsient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
2009/9/3 Andres Vargas - zodman <zodman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> the backend conary of Packagekit will support rollbacks(im try to
> work on it) .. i think not drop it.

Okay, if you're intending to support it, then I'll leave it as it is.

Richard.

<div>
<p>oohhh Yes!! tnx Richard<br><br>The idea here its take and apply all features what have PackageKit. On Foresight distro.<br><br></p>
<div class="gmail_quote">On Thu, Sep 3, 2009 at 11:40 AM, Richard Hughes <span dir="ltr">&lt;<a href="mailto:hughsient@...">hughsient@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">2009/9/3 Andres Vargas - zodman &lt;<a href="mailto:zodman@...">zodman@...</a>&gt;:<br><div class="im">&gt; the backend conary of Packagekit will support rollbacks(im try to<br>
&gt; work on it) .. i think not drop it.<br><br>
</div>Okay, if you're intending to support it, then I'll leave it as it is.<br><br>
Richard.<br><div>
<div></div>
<div class="h5">_______________________________________________<br>
PackageKit mailing list<br><a href="mailto:PackageKit@...">PackageKit@...sktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>

Gmane