Opened 13 years ago

Closed 11 years ago

#307 closed task (fixed)

Lift out copyright update to its own binary

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: major Milestone: svndigest 0.8
Component: core Version: trunk
Keywords: Cc:

Change History (19)

comment:1 Changed 13 years ago by Peter Johansson

I think we should keep this package in one binary, however, we could change the cmd syntax into a more subversion like syntax such as

svndigest copyright [OPTION]...

comment:2 Changed 13 years ago by Peter Johansson

ticket:317 was marked as related

comment:3 Changed 12 years ago by Peter Johansson

Description: modified (diff)

ticket:373 was marked as related

comment:4 Changed 12 years ago by Peter Johansson

Description: modified (diff)

comment:5 Changed 11 years ago by Peter Johansson

Milestone: svndigest 0.x+svndigest 0.8
Owner: changed from Jari Häkkinen to Peter Johansson
Summary: Lift out copyright update to its own binary?Lift out copyright update to its own binary

Given that it seems like it gonna take some time until plplot 5.9.6 is released (#428), I think there is time for this ticket within 0.8.

The plan is to deprecate svndigest --copyright and introduce svncopyright doing the same thing as svndigest --copyright --no-report. Different cache and so forth belongs in ticket #385 and should probably be included in version 0.9.

comment:6 Changed 11 years ago by Peter Johansson

(In [1055]) first (dummie) version of svncopyright. refs #307

comment:7 Changed 11 years ago by Peter Johansson

(In [1060]) refs #307

Splittin the Parameter class into two separate classes and a base class holding the common parts. The output of '--help' is not sorted as before otherwise everything should be the same. The sort will require some ammendment in yat.

comment:8 Changed 11 years ago by Peter Johansson

Status: newassigned

comment:9 Changed 11 years ago by Peter Johansson

(In [1064]) sort options alphabetically. refs #307

comment:10 Changed 11 years ago by Peter Johansson

(In [1066]) avoid hard-coding program name svndigest in Parameter class. refs #307

comment:11 Changed 11 years ago by Peter Johansson

(In [1067]) refs #307. Lift out load of configuration file to common place

comment:12 Changed 11 years ago by Peter Johansson

(In [1068]) refs #307. Use Parameter in svndigest rather than Parameter* to make main programs more uniform.

comment:13 Changed 11 years ago by Peter Johansson

(In [1069]) refs #307. Structure main function in svndigest.cc. Create a function copy_option2config.

comment:14 Changed 11 years ago by Peter Johansson

(In [1070]) refs #307. write config if option for it is given

comment:15 Changed 11 years ago by Peter Johansson

(In [1072]) refs #307. init SVN

comment:16 Changed 11 years ago by Peter Johansson

Some problems again. With current implementation it is not possible to create an instance of File without linking to plplot. Most likely because Graph is used within File::print_blame. I will start linking at plplot and complete the implementation of svncopyright. When the that is accomplished we can look at how to get rid of the plplot dependency.

comment:17 Changed 11 years ago by Peter Johansson

(In [1085]) new function chdir - wrapper around GNU C Library function chrdir

split svndigest::main into several sub-functions to increase readability

refs #307

comment:18 Changed 11 years ago by Peter Johansson

(In [1086]) first working version of svncopyright. refs #307. linking snvcopyright against plplot unfortunately.

comment:19 Changed 11 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1087]) deprecating option --copyright fixes #307

Note: See TracTickets for help on using tickets.