Log of /contributions/modules/versioncontrol_cvs/versioncontrol_cvs.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 21 00:54:40 2009 UTC
(8 months, 1 week ago)
by
jpetso
Branch:
MAIN
Changes since
1.45: +120 -5 lines
Diff to
previous 1.45
#354564: Implement versioncontrol_cvs_get_parallel_items().
Dude, CVS is really a bitch when trying to retrieve file info.
Not quite as bad as SVN with logs, but a serious pain in the neck.
Anyways, this is probably as good as it gets.
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 5 11:25:49 2009 UTC
(10 months, 3 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.38: +2 -2 lines
Diff to
previous 1.38
Making use of the new admin access function. Which reminds me...
I should probably set up a new handbook page for 5.x to 6.x API changes.
Revision
1.34.2.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 2 00:09:15 2009 UTC
(10 months, 3 weeks ago)
by
jpetso
Branch:
DRUPAL-5--2
Changes since
1.34.2.17: +1 -22 lines
Diff to
previous 1.34.2.17
, to
branch point 1.34
Duplicated documentation is bad as it tends to get outdated by lack of
synchronization. So instead of synchronizing to the current version,
let's remove it in favor of the canonical version in the FakeVCS backend.
Revision
1.34.2.15 -
(
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.34.2.14: +4 -23 lines
Diff to
previous 1.34.2.14
, to
branch point 1.34
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.34.2.14 -
(
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.34.2.13: +22 -1 lines
Diff to
previous 1.34.2.13
, to
branch point 1.34
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.34.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 2 21:43:08 2008 UTC
(14 months, 3 weeks ago)
by
jpetso
Branch:
DRUPAL-5--2
Changes since
1.34.2.1: +1 -6 lines
Diff to
previous 1.34.2.1
, to
branch point 1.34
It's not like anyone has tried out that update yet, right?
If you have, please revert to your previous database dump and re-execute -
only now that function is really done and complete. (Now features correct
handling of "added" actions, and adapting some constants to how they were
changed by the API module.)
Also, VERSIONCONTROL_FLAG_AUTOADD_COMMITS is no more, so remove that.
Revision
1.34.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Aug 30 09:19:00 2008 UTC
(14 months, 4 weeks ago)
by
jpetso
Branch:
DRUPAL-5--2
Changes since
1.34: +27 -127 lines
Diff to
previous 1.34
Remove the tag/branch operation hooks (now handled by the API module)
and port the commit hook to the new operation hook format. Untested.
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 5 14:06:59 2008 UTC
(17 months, 3 weeks ago)
by
jpetso
Branch:
MAIN
Branch point for:
DRUPAL-5--2
Changes since
1.33: +2 -22 lines
Diff to
previous 1.33
Seems I had this lying around on my disk for some time:
Remove versioncontrol_cvs_get_commit_branches() - won't be
in the 5.x-2.x (or rather, 6.x-1.0) version anymore.
Revision
1.33 -
(
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.32: +14 -37 lines
Diff to
previous 1.32
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.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 18 17:45:43 2008 UTC
(21 months, 1 week ago)
by
jpetso
Branch:
MAIN
Changes since
1.31: +10 -28 lines
Diff to
previous 1.31
Update versioncontrol_cvs to the API change in versioncontrol_get_current_item_tag(),
now returning the tag name (a string) instead of the whole tag operation.
Revision
1.31 -
(
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.30: +36 -43 lines
Diff to
previous 1.30
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.30 -
(
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.29: +33 -1 lines
Diff to
previous 1.29
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.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 13 00:40:17 2008 UTC
(22 months, 2 weeks ago)
by
jpetso
Branch:
MAIN
Changes since
1.27: +20 -11 lines
Diff to
previous 1.27
#209293: Remove the source_revision column, as it can be calculated programmatically.
Also, a bit of bugfixing:
* Fix get_previous_revision_number() for revision "1.10" by comparing
with "===" instead of "==" (PHP even compares two strings as numbers).
* Fix the number of changed lines for multiple files in a commit,
where exec() didn't replace but append to the $output_lines array.
(Therefore, unsetting helps here.)
Revision
1.27 -
(
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
Changes since
1.26: +100 -3 lines
Diff to
previous 1.26
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.
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 9 21:05:36 2008 UTC
(22 months, 2 weeks ago)
by
thehunmonkgroup
Branch:
MAIN
Changes since
1.25: +55 -2 lines
Diff to
previous 1.25
#197212 by corsix: Enable Metrics and Version Control API modules to show lines of code changed.
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Aug 18 23:50:49 2007 UTC
(2 years, 3 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.13: +147 -35 lines
Diff to
previous 1.13
Last cleanup, adaption to API changes, and the (easy & untested)
implementation of two new mandatory functions.
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Aug 17 18:10:58 2007 UTC
(2 years, 3 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.11: +87 -219 lines
Diff to
previous 1.11
Adapt to the new branch/tag facilities of the API module.
Makes for about 200 lines less (no idea about the lines of code, though).
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 16 13:06:14 2007 UTC
(2 years, 3 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.10: +220 -113 lines
Diff to
previous 1.10
Refactor database structure and code of the CVS backend.
Finish the taginfo trigger script, and introduce a posttag trigger script
that does the logging for tags and branches.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 15 14:14:17 2007 UTC
(2 years, 3 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.9: +9 -2 lines
Diff to
previous 1.9
Introduce the commitinfo and taginfo trigger scripts for CVS,
adapted to accommodate the Version Control API.
Nearly untested, but nearly complete as well.
Tag support on the whole in the CVS backend needs some work still,
but apart from that, commit/branch/tag restrictions are not far from
being deployable.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 30 12:29:04 2007 UTC
(2 years, 4 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.5: +23 -110 lines
Diff to
previous 1.5
Rip out the account management functions und use the new ones from
versioncontrol.module instead. We can have the same functionality
with a single, 6 lines long versioncontrol_cvs_insert_account() callback.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 23 08:46:21 2007 UTC
(2 years, 4 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.3: +124 -9 lines
Diff to
previous 1.3
Add implementations for get_commit_actions() and get_commit_branches()
to the module. Also, make branches repository specific,
and update copyright headers.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 19 17:03:18 2007 UTC
(2 years, 4 months ago)
by
jpetso
Branch:
MAIN
Changes since
1.1: +3 -2 lines
Diff to
previous 1.1
Bugfixes all over the place. loginfo works now, even if a few fixes
are still required. Also, remove debug output.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 19 12:32:20 2007 UTC
(2 years, 4 months ago)
by
jpetso
Branch:
MAIN
Some database changes, the start of a real backend module,
and a might-just-work implementation of xcvs-loginfo.php. Yay.
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.