Modify

Opened 5 weeks ago

Last modified 5 weeks ago

#23701 new enhancement

[Patch] Support for revert multiple changesets in Remote Control

Reported by: TrickyFoxy Owned by: team
Priority: normal Milestone:
Component: Plugin reverter Version:
Keywords: remote control Cc:

Description

The plugin supports the ability to revert multiple changesets, but you can only revert one changeset using Remote Control.

The only question is: should this be a new parameter of the form ids=1,2,3 or can the allowed values ​​of the current id parameter be expanded?

Related code:
https://josm.openstreetmap.de/browser/osm/applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetHandler.java

Attachments (2)

Multiple_revert.patch (3.4 KB ) - added by TrickyFoxy 5 weeks ago.
Support_for_revert_multiple_changesets_in_Remote_Control.patch (2.6 KB ) - added by TrickyFoxy 5 weeks ago.

Download all attachments as: .zip

Change History (5)

by TrickyFoxy, 5 weeks ago

Attachment: Multiple_revert.patch added

comment:1 by skyper, 5 weeks ago

Keywords: remote control added
Summary: Support for revert multiple changesets in Remote Control[Patch] Support for revert multiple changesets in Remote Control

comment:2 by stoecker, 5 weeks ago

Splitting the argument in id and ids is a bad design. It's not logical why that should be used and it's not really compatible. Keep "id" and only extend the support by accepting more than one value.

comment:3 by TrickyFoxy, 5 weeks ago

Thanks for your comment. The code actually looks better with this approach. The idea with ids is inspired by the OSM API :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to TrickyFoxy.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.