ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/freshports-1/scripts-fp2
Revision 726 - Directory Listing - [select for diffs]
Modified Sat Dec 22 04:52:42 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 724 , to selected 615
First commit

Revision 724 - Directory Listing - [select for diffs]
Modified Sat Dec 22 04:30:44 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 723 , to selected 615
Add copyright notices and Id tags to each file.

Revision 723 - Directory Listing - [select for diffs]
Modified Sat Dec 22 04:30:00 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 722 , to selected 615
Add copyright notice
expand messages when Makefile errors occur

Revision 722 - Directory Listing - [select for diffs]
Modified Sat Dec 22 04:29:52 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 714 , to selected 615
Add copyright notice
start using the new and improved commit_log_ports

Revision 714 - Directory Listing - [select for diffs]
Modified Sun Dec 16 19:02:16 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 713 , to selected 615
add some testing scripts

Revision 713 - Directory Listing - [select for diffs]
Modified Sun Dec 16 19:01:06 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 706 , to selected 615
first commit.  includes instructions about installing perl modules for these
scripts.

Revision 706 - Directory Listing - [select for diffs]
Modified Sun Dec 9 06:52:01 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 702 , to selected 615
don't save commit_log_id unless it is supplied.

Revision 702 - Directory Listing - [select for diffs]
Modified Wed Dec 5 23:49:44 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 701 , to selected 615
Add some basic code to cater for master/slave ports.

Revision 701 - Directory Listing - [select for diffs]
Modified Wed Dec 5 08:33:38 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 700 , to selected 615
ensure we take the commit date before
we clear out all the date values.

Revision 700 - Directory Listing - [select for diffs]
Modified Wed Dec 5 08:33:05 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 699 , to selected 615
add missing ) to an if.
actually write HTML to FILE.

Revision 699 - Directory Listing - [select for diffs]
Modified Wed Dec 5 06:08:57 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 698 , to selected 615
If the version isn't set, don't try to display it

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 , to selected 615
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 , to selected 615
Don't do any of the port update things if there are no ports.
This mainly reduces the size of the log file.

Revision 696 - Directory Listing - [select for diffs]
Modified Wed Dec 5 04:33:53 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 695 , to selected 615
don't quote the date

Revision 695 - Directory Listing - [select for diffs]
Modified Wed Dec 5 03:48:12 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 694 , to selected 615
Remove trailing / from 'use lib' statement.

Revision 694 - Directory Listing - [select for diffs]
Modified Wed Dec 5 01:50:36 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 690 , to selected 615
Add CreateDailySummary to the list of things that happen when a message is
processed.

Revision 690 - Directory Listing - [select for diffs]
Modified Fri Nov 30 03:53:14 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 660 , to selected 615
If a port has been deleted, make sure we delete the element which
corresponds to that port.

Revision 660 - Directory Listing - [select for diffs]
Modified Sun Nov 25 03:36:52 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 654 , to selected 615
Move things around so they work better.

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 , to selected 615
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 652 - Directory Listing - [select for diffs]
Modified Fri Nov 23 20:02:30 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 651 , to selected 615
use a hash instead of a character string for ignored files

Revision 651 - Directory Listing - [select for diffs]
Modified Fri Nov 23 20:02:02 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 650 , to selected 615
first commit

Revision 650 - Directory Listing - [select for diffs]
Modified Fri Nov 23 19:56:46 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 649 , to selected 615
Make sure we are looking for "  Revision" at the start of the line.

See 200111231716.fANHGwN21197@freefall.freebsd.org for what
broke this.

Revision 649 - Directory Listing - [select for diffs]
Modified Fri Nov 23 06:39:53 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 645 , to selected 615
if the port is new and has not been deleted, then set needs_refresh.

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 , to selected 615
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 644 - Directory Listing - [select for diffs]
Modified Fri Nov 23 03:30:51 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 640 , to selected 615
separate out the refreshing of a port from the saving of a commit message.

Revision 640 - Directory Listing - [select for diffs]
Modified Wed Nov 21 05:28:02 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 634 , to selected 615
Always check if the ElementRevisionExists before doing a ElementRevisionInsert.

Revision 634 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:50:29 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 633 , to selected 615
Spell the path correctly

Revision 633 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:40:09 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 631 , to selected 615
remove exta my.

Revision 631 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:17:39 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 629 , to selected 615
use SystemID not SystemBranchID

Revision 629 - Directory Listing - [select for diffs]
Modified Tue Nov 20 17:13:20 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 628 , to selected 615
log it when we create a new branch

Revision 628 - Directory Listing - [select for diffs]
Modified Tue Nov 20 17:08:34 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 627 , to selected 615
fix typos

Revision 627 - Directory Listing - [select for diffs]
Modified Tue Nov 20 17:04:31 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 626 , to selected 615
rename system_version to system_branch
rename system_version_element to system_branch_element_revision

Revision 626 - Directory Listing - [select for diffs]
Modified Tue Nov 20 17:03:44 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 615
check for failed file open

Revision 615 - Directory Listing - [selected]
Modified Sun Nov 18 22:15:12 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 614
clean up code, check for port and category before deciding this is a port

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 , to selected 615
PR 4 solved.
scan the lines following the subject and include them as part of the subject
if they start with 9 spaces.

Revision 613 - Directory Listing - [select for diffs]
Modified Fri Nov 16 18:50:05 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 612 , to selected 615
fix typo.

should be OBTAINEDFROM not OBTAINED in the dtd.

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 , to selected 615
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 611 - Directory Listing - [select for diffs]
Modified Fri Nov 16 18:38:02 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 602 , to selected 615
PR 15

Previously the log message was terminated at the first occurance of:

Revision 602 - Directory Listing - [select for diffs]
Modified Sun Nov 11 16:43:40 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 601 , to selected 615
add the revision field.

Revision 601 - Directory Listing - [select for diffs]
Modified Sun Nov 11 08:35:54 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 596 , to selected 615
Use commit_log_element

Revision 596 - Directory Listing - [select for diffs]
Modified Sun Nov 11 02:10:42 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 595 , to selected 615
Use new class: commit_log_port

Revision 595 - Directory Listing - [select for diffs]
Modified Sun Nov 11 02:10:30 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 593 , to selected 615
use ne instead of eq.  condition was wrong.

Revision 593 - Directory Listing - [select for diffs]
Modified Sat Nov 10 16:40:58 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 592 , to selected 615
updates

Revision 592 - Directory Listing - [select for diffs]
Modified Sat Nov 10 16:26:27 2001 UTC (23 years, 4 months ago) by (unknown author)
Diff to previous 591 , to selected 615
This commit was manufactured by cvs2svn to create tag 'FreshPorts2'.
Revision 591 - Directory Listing - [select for diffs]
Modified Sat Nov 10 16:26:26 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 590 , to selected 615
add missing files

Revision 590 - Directory Listing - [select for diffs]
Modified Sat Nov 10 01:32:44 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 589 , to selected 615
Get those values from the result set.

Revision 589 - Directory Listing - [select for diffs]
Modified Sat Nov 10 01:28:07 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 588 , to selected 615
save the right stuff when saving.
it still needs to be read back in.

Revision 588 - Directory Listing - [select for diffs]
Modified Sat Nov 10 01:27:27 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 585 , to selected 615
use the right id

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 , to selected 615
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 584 - Directory Listing - [select for diffs]
Modified Fri Nov 9 20:53:37 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 583 , to selected 615
set the commit id before saving

Revision 583 - Directory Listing - [select for diffs]
Modified Fri Nov 9 20:53:12 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 582 , to selected 615
Move ReadFile to a common location.

Revision 582 - Directory Listing - [select for diffs]
Modified Fri Nov 9 19:36:08 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 581 , to selected 615
remove code we've already converted

Revision 581 - Directory Listing - [select for diffs]
Modified Fri Nov 9 19:35:46 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 580 , to selected 615
correct the sql for updating a port

Revision 580 - Directory Listing - [select for diffs]
Modified Fri Nov 9 19:35:28 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 577 , to selected 615
remove unneeded comment

Revision 577 - Directory Listing - [select for diffs]
Modified Fri Nov 9 17:52:59 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 576 , to selected 615
when a port is created, needs_refresh is set correctly.

now we need to set that when a port is updated.

Revision 576 - Directory Listing - [select for diffs]
Modified Fri Nov 9 16:30:29 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 575 , to selected 615
first commit

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 , to selected 615
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 , to selected 615
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 , to selected 615
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 572 - Directory Listing - [select for diffs]
Modified Thu Nov 8 22:25:18 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 571 , to selected 615
Create a hash of ports...

Revision 571 - Directory Listing - [select for diffs]
Modified Thu Nov 8 21:05:43 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 570 , to selected 615
whitespace changes only

Revision 570 - Directory Listing - [select for diffs]
Modified Thu Nov 8 21:05:00 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 569 , to selected 615
fetch by partial name

Revision 569 - Directory Listing - [select for diffs]
Modified Thu Nov 8 20:26:43 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 568 , to selected 615
checkpoint

Revision 568 - Directory Listing - [select for diffs]
Modified Thu Nov 8 19:03:10 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 567 , to selected 615
just a checkpoint

Revision 567 - Directory Listing - [select for diffs]
Modified Tue Nov 6 22:09:59 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 566 , to selected 615
Ummm, let's get the element_id of the port before we create the port.

Revision 566 - Directory Listing - [select for diffs]
Modified Tue Nov 6 21:01:01 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 565 , to selected 615
Remove GetDBHandle and use the one provided by FreshPorts::Database.

use $dbh not $dbh_pg

Revision 565 - Directory Listing - [select for diffs]
Modified Tue Nov 6 21:00:14 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 564 , to selected 615
die if "is_primary" is not set.

Revision 564 - Directory Listing - [select for diffs]
Modified Tue Nov 6 20:59:56 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 563 , to selected 615
use the recently created FreshPorts::Category and FreshPorts::Port classes

Revision 563 - Directory Listing - [select for diffs]
Modified Tue Nov 6 20:59:13 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 558 , to selected 615
Move GetDBHandle to database.php
Add test_port_save

Revision 558 - Directory Listing - [select for diffs]
Modified Mon Nov 5 22:37:38 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 554 , to selected 615
Just another checkpoint

Revision 554 - Directory Listing - [select for diffs]
Modified Mon Nov 5 06:48:49 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 552 , to selected 615
Make save work.

Revision 552 - Directory Listing - [select for diffs]
Modified Mon Nov 5 05:16:34 2001 UTC (23 years, 5 months ago) by (unknown author)
Diff to previous 551 , to selected 615
This commit was manufactured by cvs2svn to create tag 'beta'.
Revision 551 - Directory Listing - [select for diffs]
Modified Mon Nov 5 05:16:33 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 295 , to selected 615
first time

Revision 295 - Directory Listing - [select for diffs]
Modified Mon Dec 11 00:40:11 2000 UTC (24 years, 3 months ago) by (unknown author)
Diff to previous 294 , to selected 615
This commit was manufactured by cvs2svn to create tag 'release1_1'.
Revision 294 - Directory Listing - [select for diffs]
Modified Mon Dec 11 00:40:10 2000 UTC (24 years, 3 months ago) by dan
Diff to previous 173 , to selected 615
use a LIB command.

Revision 173 - Directory Listing - [select for diffs]
Modified Fri Jun 9 09:49:12 2000 UTC (24 years, 10 months ago) by dan
Diff to previous 169 , to selected 615
now includes code so you can refresh a single port.
Modified Files:
	fetch-refresh-ports.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 167 , to selected 615
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 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 166 , to selected 615
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 166 - Directory Listing - [select for diffs]
Added Mon Jun 5 06:33:40 2000 UTC (24 years, 10 months ago) by (unknown author)
Diff to selected 615
Standard project directories initialized by cvs2svn.

Convenience Links