Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2434 closed defect (wontfix)

patch to allow empty comments in changeset [patch attached]

Reported by: pieren3@… Owned by: team
Priority: major Component: Core
Version: latest Keywords:
Cc:

Description

like other editors and wikis

Attachments (2)

OsmServerWriter.patch (690 bytes) - added by pieren3@… 4 years ago.
patch to allow empty comments in changeset
UploadAction.patch (580 bytes) - added by pieren3@… 4 years ago.
patch to disable comment enforcement

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by pieren3@…

patch to allow empty comments in changeset

comment:1 Changed 4 years ago by pieren3@…

  • Summary changed from Please make empty commit comment possible to patch to allow empty comments in changeset

I hope I can convince JOSM dictators that empty comments are better than rubbish comments.
If not, you can apply the attached patch into the source file OsmServerWriter.java and recompile.

comment:2 Changed 4 years ago by Schusch

well, in my opinion this patch shouldn't be added - if one has to add a comment, it will at least in most of all cases make (a litte at least) sense. But if one can omit the comment, lot's of people will use this possibility. I think it is a very good solution to have compulsory comments.

comment:3 Changed 4 years ago by framm

  • Resolution set to wontfix
  • Status changed from new to closed

JOSM enforcing a commit comment is by design. We want everybody to do it. Since r1546, JOSM will allow you to re-use the last commit message, and we're planning to make things even easier by keeping chnagesets open. If you do not want to enter a commit message then you will have to *actively* put a denial message in which I believe makes people think about why we're asking...

comment:4 Changed 4 years ago by pieren3@…

  • Summary changed from patch to allow empty comments in changeset to patch to allow empty comments in changeset [patch attached]

To explain my request to other people reading this trac, enforcing comments it is a pure JOSM restriction decided by a single person.
The first proposal of changeset said clearly that comment is optional (proposal done by the same person!):
http://wiki.openstreetmap.org/wiki/Original_Changesets_and_Reverts_Proposal_2008

Final API documentation as well:
http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6

Many comments prove as evidence if necessary that enforcing comments generate silly texts just to reach the 3 chars limits which is contra-productive.
As I said somewhere else, simply asking for comment is enough to let people thinking about comments. Enforcing create frustation as all other wiki projects understood.

Anyway, in case you don't like the current way, you can find attached a new patch against the current implementation of comment enforcement (UploadAction.java in src\org\openstreetmap\josm\actions instead of OsmServerWriter.java in src\org\openstreetmap\josm\io)

Changed 4 years ago by pieren3@…

patch to disable comment enforcement

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.