davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Migrate tickets tool doesn't work with VIEW access permission #475

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a repository with the VIEW access permission set (gold shield, Restrict 
View, Clone, & Push)
2. Attempt to migrate tickets from one service to another
3. Notice the repository is skipped. If all repositories are set like this, 0 
tickets are found.

What is the expected output? What do you see instead?
Tickets in all repositories (regardless of permissions) should be located and 
migrated.

What version of the product are you using? On what operating system?
GitBlit WAR 1.6.0, JDK 7u55, Windows 7, Tomcat 7.0.54 64-bit.

Command output:
C:\tomcat\webapps\ROOT\WEB-INF\lib>java -cp .\* com.gitblit.MigrateTickets 
com.gitblit.tickets.BranchTicketService --baseFolder c:\gitblit
2014-07-28 14:30:17 [INFO ] Basefolder  : c:\gitblit
2014-07-28 14:30:17 [INFO ] Settings    : c:\gitblit\gitblit.properties
2014-07-28 14:30:17 [INFO ] JVM timezone: America/Denver (MDT -0600)
2014-07-28 14:30:17 [INFO ] App timezone: America/Denver (MDT -0600)
2014-07-28 14:30:17 [INFO ] JVM locale  : en_US
2014-07-28 14:30:17 [INFO ] App locale  : <client>
2014-07-28 14:30:17 [INFO ] Repositories folder : c:\gitblit\git
2014-07-28 14:30:17 [INFO ] Identifying repositories...
2014-07-28 14:30:18 [INFO ] 13 repositories identified with calculated folder 
sizes in 540 msecs
2014-07-28 14:30:18 [INFO ] Lucene will process indexed branches every 2 
minutes.
2014-07-28 14:30:18 [INFO ] Garbage Collector (GC) is disabled.
2014-07-28 14:30:18 [INFO ] Mirror service is disabled.
2014-07-28 14:30:18 [INFO ] Commit cache is disabled
2014-07-28 14:30:18 [INFO ] 0 repository models loaded for anonymous in 45 msecs

Migrated 0 tickets composed of 0 journal entries in 0 seconds

Original issue reported on code.google.com by gib...@gmail.com on 28 Jul 2014 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 12 Aug 2014 at 6:37

GoogleCodeExporter commented 9 years ago
Fix pushed to master.

Original comment by James.Mo...@gmail.com on 8 Sep 2014 at 8:41

GoogleCodeExporter commented 9 years ago
v1.6.1 released

Original comment by James.Mo...@gmail.com on 20 Oct 2014 at 9:36