Issue 537: descriptions files in existing repos are trashed
Status:  Released
Owner: ----
Closed:  Mar 2012

Blocking:
issue 538
Reported by kevin.la...@gmail.com, Apr 16, 2010
Affected Version: 2.1.2.2

What steps will reproduce the problem?
1. create a repo for an existing project
2. notice that the descriptions file is now empty

What is the expected output? What do you see instead?

I expected the descriptions file to be left alone.
Apr 16, 2010
#1 kevin.la...@gmail.com
Argh.  Can someone change the "is" to "are" in the summary?
Apr 16, 2010
#2 sop@google.com
This is during `java -jar gerrit.war init -d site_path` ?

I thought on import we saved the existing description
file into the database, unless it was the stupid default
text provided by git.  If we aren't, its a bug.

Gerrit overwrites the description file sometimes, as its
trying to synchronize the description on disk with the
description in the database, so that gitweb and gerrit have
the same information.  But yea, we shouldn't throw away a
description you already have when initializing a project.
Summary: descriptions files in existing repos are trashed
Status: AwaitingInformation
Apr 16, 2010
#3 kevin.la...@gmail.com
Not during the init.  During this:

  ssh gerrit gerrit create-project --name cl-typesetting

and the "descriptions" file is now 0 length.

Apr 24, 2010
#4 sop@google.com
This only happens when the existing repository is
not at the proper name.  Normally the create-project
command is supposed to bail out with an exception if
the target already exists.
Status: Accepted
Apr 24, 2010
#5 sop@google.com
Fixed by I322294ff4595dc7995789bb38750c678188c2aa9
Status: Fixed
Labels: FixedIn-2.1.2.3
Mar 27, 2012
#6 sop@google.com
(No comment was entered for this change.)
Status: Released