View Issue Details

IDProjectCategoryView StatusLast Update
0002834Slicer4Core: Base Codepublic2013-07-26 08:17
Reportersankhesh Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002834: Consolidate svn and git hooks
Description

Currently svn and git hooks are separate.

Add a separate repository for Slicer git hooks that can be setup using a SetupForDevelopment.sh script

TagsNo tags attached.

Relationships

child of 0002059 acknowledgedjcfr Transition to Git 

Activities

sankhesh

sankhesh

2013-03-21 06:01

developer   ~0008185

Pushed topic to: https://github.com/sankhesh/Slicer/tree/2834-consolidate-svn-git-hooks

Wiki documentation on the issue: http://www.slicer.org/slicerWiki/index.php/Documentation/Labs/DevelopmentWithGit

jcfr

jcfr

2013-04-08 09:43

administrator   ~0008349

See also http://itk.org/Wiki/ITK/Git/Develop/Data

jcfr

jcfr

2013-04-09 11:32

administrator   ~0008355

Last edited: 2013-04-09 11:32

Topic where the hooks are available: https://github.com/sankhesh/Slicer/commits/hooks

jcfr

jcfr

2013-04-09 11:55

administrator   ~0008356

Just tried the script. Love it.

Next steps:

Thanks
Jc

sankhesh

sankhesh

2013-04-24 05:50

developer   ~0008471

Last edited: 2013-04-24 07:03

Feature merged. http://viewvc.slicer.org/viewvc.cgi/Slicer4/?view=query&pathrev=21913&dir=&file=&file_match=exact&who=&who_match=exact&comment=&comment_match=exact&querysort=date&hours=2&date=explicit&mindate=2013-04-24+13%3A00%3A00&maxdate=2013-04-24+15%3A00%3A00&limit_changes=100

Hooks branch: https://github.com/Slicer/Slicer/tree/hooks

jcfr

jcfr

2013-04-24 06:54

administrator   ~0008473

Very nice :)

The view link for viewvc is also cool.

I noticed you added the Version information, would it be possible to check if the current version match stored in the .git/config matches the one hardcoded in the hook. That way, the developer could be notified he was to re-run SetupForDevelopment.sh

sankhesh

sankhesh

2013-04-24 06:58

developer   ~0008474

Thank you.

The version checking is done by the pre-commit hook. See: https://github.com/Slicer/Slicer/blob/hooks/pre-commit#L53-67

jcfr

jcfr

2013-04-24 07:03

administrator   ~0008475

Excellent. Of course .. it all makes sens.

Could you send an email on devel list ?

Could you also create an entry in the develop FAQ named: "How to setup git hooks?" See http://www.slicer.org/slicerWiki/index.php?title=Documentation/Nightly/Developers/FAQ/General&action=edit

sankhesh

sankhesh

2013-04-24 09:15

developer   ~0008477

Done.

nicole

nicole

2013-07-26 07:43

administrator   ~0009212

Hi Sankesh,

Could you please add .mrml to the list of extensions that aren't checked for max line length? I needed to check in a test scene and had to manually disable that test.

Thanks!

jcfr

jcfr

2013-07-26 08:02

administrator   ~0009213

Fixed in r21911, r21946, r22002, r22237

http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21911
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21946
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22002
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22237

Related links:

http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/FAQ/General#How_to_setup_for_Git_development_.3F

http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit#Slicer_Setup

nicole

nicole

2013-07-26 08:17

administrator   ~0009214

Thanks!

Issue History

Date Modified Username Field Change
2012-12-18 06:45 sankhesh New Issue
2012-12-18 06:45 sankhesh Status new => assigned
2012-12-18 06:45 sankhesh Assigned To => sankhesh
2012-12-18 06:45 sankhesh Relationship added child of 0002059
2013-03-21 06:01 sankhesh Note Added: 0008185
2013-04-08 09:43 jcfr Note Added: 0008349
2013-04-09 11:23 sankhesh Target Version => Slicer 4.3.0
2013-04-09 11:32 jcfr Note Added: 0008355
2013-04-09 11:32 jcfr Note Edited: 0008355
2013-04-09 11:55 jcfr Note Added: 0008356
2013-04-24 05:50 sankhesh Note Added: 0008471
2013-04-24 05:50 sankhesh Status assigned => resolved
2013-04-24 05:50 sankhesh Fixed in Version => Slicer 4.3.0
2013-04-24 05:50 sankhesh Resolution open => fixed
2013-04-24 05:51 sankhesh Status resolved => closed
2013-04-24 06:54 jcfr Note Added: 0008473
2013-04-24 06:58 sankhesh Note Added: 0008474
2013-04-24 07:02 sankhesh Note Edited: 0008471
2013-04-24 07:03 sankhesh Note Edited: 0008471
2013-04-24 07:03 jcfr Note Added: 0008475
2013-04-24 09:15 sankhesh Note Added: 0008477
2013-07-26 07:43 nicole Note Added: 0009212
2013-07-26 07:45 jcfr Status closed => assigned
2013-07-26 07:45 jcfr Assigned To sankhesh => jcfr
2013-07-26 08:02 jcfr Note Added: 0009213
2013-07-26 08:02 jcfr Status assigned => resolved
2013-07-26 08:17 nicole Note Added: 0009214
2013-07-26 08:17 nicole Status resolved => closed