Log of /contributions/modules/versioncontrol_cvs/versioncontrol_cvs.log.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.9.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jan 1 19:15:54 2009 UTC
(10 months, 3 weeks ago)
by
jpetso
Branch:
DRUPAL-5--2
Changes since
1.9.2.4: +21 -239 lines
Diff to
previous 1.9.2.4
, to
branch point 1.9
Fix log fetching (used erroneous SQL queries and a wrong function name),
and factor out the code independent from Drupal into a separate helper
library, cvslib.inc (similar to the SVN backend's svnlib.inc). Makes the
code quite a bit nicer, and will ease upcoming functionality additions.
Revision
1.9.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 15 21:48:05 2008 UTC
(11 months, 1 week ago)
by
jpetso
Branch:
DRUPAL-5--2
CVS Tags:
DRUPAL-5--2-0-RC1
Changes since
1.9.2.3: +5 -10 lines
Diff to
previous 1.9.2.3
, to
branch point 1.9
Factor out the repository login from the log parser.
I attempted to implement [versioncontrol_backend]_get_item() first,
but I'm just realizing that I don't feel like it at the moment, so
that piece of work will have to wait. In any case, for the direct
repository access functions we'll probably have something like the
SVN backend's svnlib.inc, and make the log parser more reusable.
Revision
1.9.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 15 21:27:10 2008 UTC
(11 months, 1 week ago)
by
jpetso
Branch:
DRUPAL-5--2
Changes since
1.9.2.2: +5 -3 lines
Diff to
previous 1.9.2.2
, to
branch point 1.9
Oops, just noticed that I forgot to port the lines-changed information
when recording commits via the log parser. Well, ...here you are.
Good thing I only released the CVS backend as an alpha yet.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 18 18:52:44 2008 UTC
(21 months, 1 week ago)
by
jpetso
Branch:
MAIN
Changes since
1.7: +2 -2 lines
Diff to
previous 1.7
The API module mandates a source file even for "delete" actions now,
adapt to that. As you would have guessed, that makes the code a bit easier too :)
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 21 10:54:40 2008 UTC
(22 months, 1 week ago)
by
jpetso
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0
Branch point for:
DRUPAL-5
Changes since
1.6: +7 -8 lines
Diff to
previous 1.6
Adapt to the {commits, branch operations, tag operations} -> operations
consolidation in the API module. Also, fix a few potential (minor) bugs
while doing so.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 14 14:49:43 2008 UTC
(22 months, 2 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.5: +2 -1 lines
Diff to
previous 1.5
Add some additional smartness so that we insert added files as such,
and not as "modified" as CVS would like to make us believe.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 13 23:44:50 2008 UTC
(22 months, 2 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.2: +2 -4 lines
Diff to
previous 1.2
Actually, we can't retrieve branch points and tag operations afterwards,
because we know the "symbolic names" for a file but don't know how to
group multiple files together into one branch/tag operation.
Instead, add a TODO item for calling updates periodically with hook_cron().
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 11 05:06:32 2008 UTC
(22 months, 2 weeks ago)
by
jpetso
Branch:
MAIN
After weeks and weeks of being lazy, I present to you the long-awaited
port of cvs.module's log parsing functionality. It's completely untested
at this point, so it will almost certainly not work at all.
Nevertheless, there's no syntax error, the site still shows,
and it doesn't hurt anyone, so I'd rather get this off my harddisk.
After a little debugging, we should get rather nice results.
Major changes compared to the cvs.module version:
* Changed stuff to Version Control API calls and data structures, obviously.
* Better recognition of commits, either with the new "commitid" info
or by employing neat heuristics.
* Removed the $only_tags parameter and functionality, as that doesn't
apply to Version Control API anymore. We'll need other functionality
that implements a couple more API functions and directly queries CVS
for branches and tags.
* You knew that I would double the code size, didn't you? Sorry for that :P
In return, the majority of the log fetching code is now in an include
file which is only loaded when the actual fetching is done.
TODO: Call this from hook_cron(), and lots of testing and debugging.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.