Revision
868 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 2 03:06:31 2002 UTC
(23 years, 2 months ago)
by
dan
Diff to
previous 861
Add new commit_log class
Start using new ReportError function from utilities.pm instead of calling
SysLog and die.
Revision
854 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 23 02:46:56 2002 UTC
(23 years, 2 months ago)
by
dan
Diff to
previous 853
When an error occurs when processing a make file, return the error to the
calling function. Then, don't update the port because it's not ready
Revision
853 -
Directory Listing
-
[select for diffs]
Modified
Wed Jan 23 01:54:14 2002 UTC
(23 years, 2 months ago)
by
dan
Diff to
previous 852
Put a knob in to turn off creation of a pkg directory. I think I added
this to detect problems which arose if this directory exists.
noteably: pre-everything having two : after it.
Revision
848 -
Directory Listing
-
[select for diffs]
Modified
Mon Jan 7 21:15:12 2002 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 831
PR#21
cater for imported sources. With a recent change implemented by Josef Karthauser,
imported source cvs-all message do contain a BRANCH. However, the
message do not contain a LOG section. Thus the XML field is empty.
Get around the problem with a minor reorganization of the code.
Grab the message subject. Grab the log. If the log is empty, use
the subject.
ALSO: white space changes.
Revision
824 -
Directory Listing
-
[select for diffs]
Modified
Sun Jan 6 06:22:59 2002 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 823
upgrade to postgresql.
Now that this is done, the next step is to get some of you on the Develop list
to start tracking your ports via fp2.freshports.org. BUT FIRST I'll have to
upgrade that site to the latest database and scripts as found in
lists-test.freshports.org. Watch this space.
Revision
790 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 31 15:26:29 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 789
$hash{portname} is not the same as
$hash{$portname}
Fix this annoying bug so more than just the first port in a commit gets refreshed.
Revision
789 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 31 06:18:09 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 787
daily summary changes
- use category/port format
- add time-ajustment factor to cater for time zone differences
Revision
779 -
Directory Listing
-
[select for diffs]
Modified
Sun Dec 30 23:22:29 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 778
- correct where the script was still using ports.needs_refresh instead of
commit_log_ports.needs_refresh.
- for now, we will fetch every file touch by a port commit. I still
don't have a solution for files included by Makefile.
Revision
767 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 29 20:48:00 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 758
move the commit to be before the CreateDailySummary call.
If that call falls over, we want to be sure the transaction is closed.
otherwise, it will roll back and undo what we did.
Revision
757 -
Directory Listing
-
[select for diffs]
Modified
Fri Dec 28 22:37:18 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 756
- with master/slave ports, the directory we are fetching to (master port)
may not be the directory we are working in (slave port; the one being
refreshed. adjust fetching scheme accordingly.
- add function to remove port directory prefix (RemovePortsPrefix).
Revision
749 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 24 03:16:05 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 748
My first attempt at moving needs_refresh from the port table to the
commit_log_ports table. In addition, the commit_log_ports will hold
the port_version associated with that commit. Thus, as you look
down the page, you should be able to see the port_version change
from commit to commit (not that every commit causes a change).
Revision
737 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 22 23:23:08 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 736
Add the new archive-messages.sh. call this from cron.
it will call the improved archive-logs.sh which will
move the msgs away from the main directory and archive them.
Revision
733 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 22 21:50:12 2001 UTC
(23 years, 3 months ago)
by
dan
Diff to
previous 732
provide a new option: -O (Overwrite)
when processing an XML file, if the supplied message id exists, delete it
and continue processing. Useful when you need to reprocess a message
for some reason.
Revision
698 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 5 06:06:09 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 697
Don't do the build of daily summaries until after we have refreshed
the ports. Otherwise for new ports, version will be empty.
Revision
697 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 5 04:34:54 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 696
Don't do any of the port update things if there are no ports.
This mainly reduces the size of the log file.
Revision
654 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 24 21:41:50 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 652
remove CommitLogElementsInsert
replace EnsureCategoryAndPortExist with SaveChangesToPortsTree
create _CompileListOfPorts which replaces the fuctionality of EnsureCategoryAndPortExist
Instead of saving a port as we go along, we will compile a list of ports based
on the files we find. Once all files are processed and saved to the database,
we have our list. Then we process the files again, setting the needs_refresh
value for the port affected by this file. If we find that the Makefile for
a port has been deleted, we set needs_refresh = 0.
Revision
645 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 23 04:51:39 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 644
remove unneeded exports
if the port has been deleted, make sure we set port->{deleted} correctly
and process things.
move the refresh ports process to port.pm so it can be used
both with load_xml_into_db.pl and from refresh-unrefreshed-ports.pl
Revision
614 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 16 19:40:47 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 613
PR 4 solved.
scan the lines following the subject and include them as part of the subject
if they start with 9 spaces.
Revision
612 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 16 18:40:26 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 611
The previous commit was in error.
PR 15
Previously the log message was terminated at the first occurance of:
Revision
PR:
Submitted by:
Approved by:
Reviewed by:
To Unsubscribe
Now it's only:
Revision
To Unsubscribe
Also, populate the ObtainedFrom field while we are here.
Revision
585 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 9 23:26:46 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 584
Now we fetch the files needed to refresh the port,
we update the port class, and we save it.
port.pm needs to be updated to save and fetch more fields.
Revision
575 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 9 05:16:00 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 574
needs_refresh is now being computed.
We have have to do something special for ports which are created first time.
Revision
574 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 9 04:09:00 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 573
Now processing the files and ports correctly.
now we just have to parse the file names and update the port needs_refresh.
Revision
573 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 8 23:15:04 2001 UTC
(23 years, 4 months ago)
by
dan
Diff to
previous 572
We now have a list of ports which needs to be updated.
next step: set the needs_refresh field and then save the results
back to the database.
Revision
509 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 7 15:56:04 2001 UTC
(23 years, 6 months ago)
by
dan
Diff to
previous 504
Put the database connect into freshports_database.pm and use
freshports_database.pm.sample as the example.
Revision
463 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 1 21:30:11 2001 UTC
(23 years, 6 months ago)
by
dan
Diff to
previous 462
Don't create a pkg directory in fetch-cvs-file.sh.
Let's do it where werun the make -V. then we'll remove it.
this catches the pre-everything bug.
Revision
462 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 1 21:29:41 2001 UTC
(23 years, 6 months ago)
by
dan
Diff to
previous 461
Don't create a pkg directory here. Let's do it where we
run the make -V. then we'll remove it.
this catches the pre-everything bug.
Revision
278 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 16 23:13:15 2000 UTC
(24 years, 5 months ago)
by
dan
Diff to
previous 277
Hmmm, it assumed that a port commit started with cvs commit: ports/
now, it doesn't. the ports/ bit can be anywhere on the subject: line.
Modified Files:
log-catcher.awk
Revision
277 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 16 23:11:52 2000 UTC
(24 years, 5 months ago)
by
dan
Diff to
previous 276
oops! forgot to add the ports changes for pkg-descr etc.
Committing in updates
Modified Files:
updates.pl
Revision
276 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 9 02:40:48 2000 UTC
(24 years, 6 months ago)
by
dan
Diff to
previous 275
changed pkg/DESCR to pkg-descr and other changes associated with new ports
layout.
Modified Files:
ports.pm
Revision
230 -
Directory Listing
-
[select for diffs]
Modified
Tue Jul 25 10:22:08 2000 UTC
(24 years, 8 months ago)
by
dan
Diff to
previous 221
Cater for ports which are deleted, then reimported. We have them in the
tree, but they are deleted. Just set them "status = 'A'" and get on with it.
Modified Files:
updates.pl
Revision
200 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 28 09:44:55 2000 UTC
(24 years, 9 months ago)
by
dan
Diff to
previous 199
final changes before freshports 1.1
Committing in .
Modified Files:
log-catcher.awk log-catcher.pl
Modified Files:
updates.pl
Revision
189 -
Directory Listing
-
[select for diffs]
Modified
Sat Jun 24 01:17:07 2000 UTC
(24 years, 9 months ago)
by
dan
Diff to
previous 187
move the call to MarkPortAsRefreshNeeded to where it is always called for
every entry being modified. Failure to do this means pkg/DESCR are not
fetched and therefore the data is out of date.
Modified Files:
updates.pl
Revision
169 -
Directory Listing
-
[select for diffs]
Modified
Tue Jun 6 09:47:20 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 168
Looks good so far. Just a quick commit to save everything.
At this point, I have the fetching of Makefile, pkg/DESCR, and pkg/COMMENTS
going. But I have to know when to fetch such things.
Committing in .
Modified Files:
fetch-cvs-file.sh fetch-refresh-ports.pl ports.pm test.pl
Revision
168 -
Directory Listing
-
[select for diffs]
Modified
Mon Jun 5 06:35:27 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 167
fetch-cvs-file.pl is actually fetch-cvs-file.sh
Committing in .
Modified Files:
announce.pl email.pl ports.pm refresh-ports.pl test.pl
Removed Files:
fetch-cvs-file.pl
Revision
167 -
Directory Listing
-
[select for diffs]
Modified
Mon Jun 5 06:33:40 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 160
These files are used to refresh a port on-the-fly.
fetch-cvs-file.sh will fetch the latest version of any cvs file.
fetch-refresh-ports.pl uses the above to refresh all ports which need refreshing.
Added Files:
fetch-refresh-ports.pl fetch-cvs-file.sh
Revision
150 -
Directory Listing
-
[select for diffs]
Modified
Mon May 29 01:39:39 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 149
fixed up setting of refresh_needed and started using index instead of a regex
for FilesWhichPromptRefresh.
Modified Files:
updates.pl
Revision
149 -
Directory Listing
-
[select for diffs]
Modified
Mon May 29 01:00:43 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 148
now updates change_log_details properly.
obtains needs_refresh and status when checking for existing ports.
assigns value to needs_refresh only if necessary.
sets needs_refresh to "N" if port is deleted.
Modified Files:
updates.pl
Revision
88 -
Directory Listing
-
[select for diffs]
Modified
Sat May 13 05:31:03 2000 UTC
(24 years, 10 months ago)
by
dan
Diff to
previous 81
no longer sets status to 'N' when a port is updated
ignored ports are now tested for individually as using a REGEX was causing
too many problems.
improved formatting of code.
Revision
74 -
Directory Listing
-
[select for diffs]
Added
Fri May 12 23:02:01 2000 UTC
(24 years, 10 months ago)
by
(unknown author)
Standard project directories initialized by cvs2svn.