ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/freshports-1/database-schema
Revision 6103 - Directory Listing - [select for diffs]
Modified Wed Nov 6 19:28:42 2024 UTC (4 months, 3 weeks ago) by dvl
Diff to previous 6102 , to selected 5305
remove duplicate but different instance of FUNCTION public.ports_categories_set() RETURNS trigger
Revision 6102 - Directory Listing - [select for diffs]
Modified Wed Nov 6 19:00:47 2024 UTC (4 months, 3 weeks ago) by dvl
Diff to previous 6101 , to selected 5305
Adjust column aligment for better reading
Revision 6101 - Directory Listing - [select for diffs]
Modified Wed Nov 6 18:54:39 2024 UTC (4 months, 3 weeks ago) by dvl
Diff to previous 6100 , to selected 5305
Adjust column aligment for better reading
Revision 6100 - Directory Listing - [select for diffs]
Modified Wed Nov 6 18:08:39 2024 UTC (4 months, 3 weeks ago) by dvl
Diff to previous 6099 , to selected 5305
grant truncate ON packages_raw  TO packaging; allow www to read abi
Revision 6099 - Directory Listing - [select for diffs]
Modified Wed Nov 6 18:07:49 2024 UTC (4 months, 3 weeks ago) by dvl
Diff to previous 6066 , to selected 5305
Adjust column aligment for better reading
Revision 6066 - Directory Listing - [select for diffs]
Modified Tue Aug 13 11:13:40 2024 UTC (7 months, 2 weeks ago) by dvl
Diff to previous 6061 , to selected 5305
ri.txt: fix broken packages triggers

After INSERT, invoke package_notifications_insert, not after UPDATE

After DELETE, invoked package_notifications_delete, not after UPDATE

Seems like repeated copy/paste/fail to correctly amend.

Revision 6061 - Directory Listing - [select for diffs]
Modified Thu Jun 27 21:21:17 2024 UTC (9 months ago) by dvl
Diff to previous 6060 , to selected 5305
mv updates-2024-06-21.txt updates-2024-06-22.README.txt

Revision 6060 - Directory Listing - [select for diffs]
Modified Wed Jun 26 12:02:20 2024 UTC (9 months, 1 week ago) by dvl
Diff to previous 6059 , to selected 5305
Save things for freshports multiple cookies

Revision 6059 - Directory Listing - [select for diffs]
Modified Sun Jun 23 12:21:22 2024 UTC (9 months, 1 week ago) by dvl
Diff to previous 6058 , to selected 5305
Move users.cookie to a new table: user_cookie

This allows multiple logins for different sessions, say
from your desktop and from your laptop.

re: https://github.com/FreshPorts/freshports/issues/574

Revision 6058 - Directory Listing - [select for diffs]
Modified Sat Jun 1 12:51:45 2024 UTC (10 months ago) by dvl
Diff to previous 6057 , to selected 5305
Allow reading to select from watch_list_element

re: https://github.com/FreshPorts/freshports/issues/550

Revision 6057 - Directory Listing - [select for diffs]
Modified Tue Apr 2 12:03:31 2024 UTC (12 months ago) by dvl
Diff to previous 6053 , to selected 5305
for package_notifications table, use package_notifications_abi_set_port_idx CONSTRAINT
Revision 6053 - Directory Listing - [select for diffs]
Modified Mon Mar 11 18:25:05 2024 UTC (12 months, 3 weeks ago) by dvl
Diff to previous 6051 , to selected 5305
Add insert into reports for new package notiication report
change public.report_log_package_notifications to id, not serial
postgres, not postgress.

Revision 6051 - Directory Listing - [select for diffs]
Modified Sun Mar 10 12:57:49 2024 UTC (12 months, 3 weeks ago) by dvl
Diff to previous 6050 , to selected 5305
Pulled in all the changes from the DB via PGAdmin 8.4

Revision 6050 - Directory Listing - [select for diffs]
Modified Sat Mar 9 20:06:09 2024 UTC (12 months, 3 weeks ago) by dvl
Diff to previous 6040 , to selected 5305
Add report_log_package_notifications

Revision 6040 - Directory Listing - [select for diffs]
Modified Sun Mar 3 14:00:04 2024 UTC (13 months ago) by dvl
Diff to previous 6039 , to selected 5305
GRANT INSERT                 ON packages_last_checked TO abi_maintenance

Revision 6039 - Directory Listing - [select for diffs]
Modified Sat Mar 2 00:53:52 2024 UTC (13 months ago) by dvl
Diff to previous 6035 , to selected 5305
Add more for this.

Revision 6035 - Directory Listing - [select for diffs]
Modified Tue Feb 6 23:32:25 2024 UTC (13 months, 3 weeks ago) by dan
Diff to previous 6034 , to selected 5305
first draft of triggers for package_notifications table

Revision 6034 - Directory Listing - [select for diffs]
Modified Tue Feb 6 18:14:47 2024 UTC (13 months, 3 weeks ago) by dan
Diff to previous 6000 , to selected 5305
A FreshSource RO user

Revision 6000 - Directory Listing - [select for diffs]
Modified Wed Jan 3 16:58:36 2024 UTC (14 months, 4 weeks ago) by dan
Diff to previous 5989 , to selected 5305
add update to abi_maintenance
Revision 5989 - Directory Listing - [select for diffs]
Modified Tue Jan 2 20:53:56 2024 UTC (15 months ago) by dan
Diff to previous 5983 , to selected 5305
save SQL updates for abi maint
Revision 5983 - Directory Listing - [select for diffs]
Modified Sun Dec 31 17:37:02 2023 UTC (15 months ago) by dan
Diff to previous 5946 , to selected 5305
For PackagesLastCheckedSetRepoDate(), indicate an update is required only if a_RepoDate
is not null. If it is null, there is no such repo and it cannot be imported.

See: https://news.freshports.org/2023/12/31/no-repos-need-importing-how-did-this-happen-this-should-never-happen/

Revision 5946 - Directory Listing - [select for diffs]
Modified Tue Dec 12 22:54:46 2023 UTC (15 months, 3 weeks ago) by dan
Diff to previous 5941 , to selected 5305
When done populating the packages table, clear out the pacakges_raw table.

I suspect we had lingering data in there. This was messing up the results.
We'd have a version, and no record of ever importing that tree.

Revision 5941 - Directory Listing - [select for diffs]
Modified Mon Dec 11 13:53:35 2023 UTC (15 months, 3 weeks ago) by dan
Diff to previous 5932 , to selected 5305
Add more comments

Revision 5932 - Directory Listing - [select for diffs]
Modified Mon Nov 27 00:00:47 2023 UTC (16 months, 1 week ago) by dan
Diff to previous 5910 , to selected 5305
Allow reading to select from categories

Revision 5910 - Directory Listing - [select for diffs]
Modified Sat Sep 30 15:01:34 2023 UTC (18 months ago) by dan
Diff to previous 5907 , to selected 5305
Add new function: DoneProcessingCommit()

It is not invoked anywhere - I suspect that would
be somewhere inside the commit inserting/adding
code.

Revision 5907 - Directory Listing - [select for diffs]
Modified Sat May 27 17:34:33 2023 UTC (22 months, 1 week ago) by dan
Diff to previous 5899 , to selected 5305
When checking for latest commit before a quarterly branch,
ignore null port versions.

They can happen: https://cgit.freebsd.org/ports/commit/?id=fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4

Revision 5899 - Directory Listing - [select for diffs]
Modified Sat Apr 1 15:28:13 2023 UTC (2 years ago) by dan
Diff to previous 5898 , to selected 5305
Remove unneeded declarations and notices.

Revision 5898 - Directory Listing - [select for diffs]
Modified Sun Mar 26 01:18:53 2023 UTC (2 years ago) by dan
Diff to previous 5889 , to selected 5305
Use ports_active instead of ports

By default, it is head only.

Revision 5889 - Directory Listing - [select for diffs]
Modified Wed Dec 28 14:55:17 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5888 , to selected 5305
Remove latest_link, no longer used.

Revision 5888 - Directory Listing - [select for diffs]
Modified Wed Dec 28 14:54:59 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5882 , to selected 5305
Rename GetCategoryPortFromLatestLink to FUNCTION GetCategoryPortFromPackageName
because latestlink is no longer used by Ports.


Revision 5882 - Directory Listing - [select for diffs]
Modified Sat Dec 24 17:31:57 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5879 , to selected 5305
When creating a port on a branch, use the ports table, not the ports_active
view to get the element_id. It won't be there because ports_active is now
head only.

re: https://github.com/FreshPorts/freshports/issues/413
    https://github.com/FreshPorts/freshports/issues/407


Revision 5879 - Directory Listing - [select for diffs]
Modified Thu Dec 22 15:12:07 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5878 , to selected 5305
Correct the name of this file.


Revision 5878 - Directory Listing - [select for diffs]
Modified Thu Dec 22 15:11:19 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5873 , to selected 5305
Add test_depends to views.


Revision 5873 - Directory Listing - [select for diffs]
Modified Tue Dec 20 14:17:32 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5870 , to selected 5305
Add new column: ports.test_depends

re: https://github.com/FreshPorts/freshports/issues/411


Revision 5870 - Directory Listing - [select for diffs]
Modified Sun Dec 11 14:32:43 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5869 , to selected 5305
make both ports_all and ports_active head-specific.

We shall see if this works out OK

re: https://github.com/FreshPorts/freshports/issues/407
    https://github.com/FreshPorts/freshports/issues/406


Revision 5869 - Directory Listing - [select for diffs]
Modified Sun Dec 11 13:33:36 2022 UTC (2 years, 3 months ago) by dan
Diff to previous 5855 , to selected 5305
Split role creation out from permissions.sql into roles-users-groups.sql

This allows permissions to be re-run at any time, for example, after a view
changes.


Revision 5855 - Directory Listing - [select for diffs]
Modified Wed Sep 21 12:48:37 2022 UTC (2 years, 6 months ago) by dan
Diff to previous 5837 , to selected 5305
When clearing cache for a port, consider all categories

re https://github.com/FreshPorts/freshports/issues/373

A port  has a primary category. e.g. x11/bemenu

However, this port is also listed in the wayland category,
which is a virtual category. This is known as a secondary
category. Secondary categories are  always vritual.

You can't browse to wayland/bemenu - but you can see bemenu
listed at https://www.freshports.org/wayland/

Therefore, we must flush that page from cache when that port
is updated.

The solution: insert both of these pairs into the cache_clearing_ports
table:

* x11,bemenu
* wayland,bemenu

The fp-listen daemon, which runs on the webserver nodes, will always clear
the category page in addition to  the port page.

It will also clear the now non-existent wayland/bemenu page - no harm done
there. Should the display of a port on a virtual page be implemented one
day, this solution will properly clear that cache too.

Revision 5837 - Directory Listing - [select for diffs]
Modified Fri Aug 19 19:19:40 2022 UTC (2 years, 7 months ago) by dan
Diff to previous 5836 , to selected 5305
Comment out this NOTICE. It winds up in the .errors file for the commit.

Revision 5836 - Directory Listing - [select for diffs]
Modified Fri Aug 19 16:10:04 2022 UTC (2 years, 7 months ago) by dan
Diff to previous 5830 , to selected 5305
Fix a trigger optimization which avoided updating the table if the values
did not change.

re: https://news.freshports.org/2022/08/19/missing-ports_categories-entries/


Revision 5830 - Directory Listing - [select for diffs]
Modified Tue Jul 19 13:03:32 2022 UTC (2 years, 8 months ago) by dan
Diff to previous 5826 , to selected 5305
Exclude deleted ports on package name search

Use ports_active not ports

Example: otrs has www and devel (deleted).

If entered into the search box on the front page, you'd be taken to the
search page where only the non-deleted port would be found. Better to take
then directly to the active port, as intended.


Revision 5826 - Directory Listing - [select for diffs]
Modified Tue Dec 21 00:50:21 2021 UTC (3 years, 3 months ago) by dan
Diff to previous 5807 , to selected 5305
don't tell me about required modifying the the parent % from a file to directory


Revision 5807 - Directory Listing - [select for diffs]
Modified Thu Sep 2 18:02:53 2021 UTC (3 years, 7 months ago) by dan
Diff to previous 5799 , to selected 5305
Remove NOT EXISTS (SELECT port_id 
                     FROM cache_clearing_ports
                    WHERE port_id = PD.port_id_dependent_upon)
from the trigger. It's seems extraneous



Revision 5799 - Directory Listing - [select for diffs]
Modified Thu Sep 2 00:02:27 2021 UTC (3 years, 7 months ago) by dan
Diff to previous 5796 , to selected 5305
better comment
Revision 5796 - Directory Listing - [select for diffs]
Modified Tue Aug 24 21:02:03 2021 UTC (3 years, 7 months ago) by dan
Diff to previous 5795 , to selected 5305
Create the ports_to_refresh table.

re: https://github.com/FreshPorts/freshports/issues/328


Revision 5795 - Directory Listing - [select for diffs]
Modified Tue Aug 24 21:01:21 2021 UTC (3 years, 7 months ago) by dan
Diff to previous 5794 , to selected 5305
Make sure the branch is in public.freshports_commit_record - fixes https://github.com/FreshPorts/freshports/issues/327
Revision 5794 - Directory Listing - [select for diffs]
Modified Tue Aug 24 20:59:50 2021 UTC (3 years, 7 months ago) by dan
Diff to previous 5742 , to selected 5305
 add branch text to public.freshports_commit_record
Revision 5742 - Directory Listing - [select for diffs]
Modified Thu Jul 8 22:33:17 2021 UTC (3 years, 8 months ago) by dan
Diff to previous 5724 , to selected 5305
silence some entries.


Revision 5724 - Directory Listing - [select for diffs]
Modified Tue Jun 22 01:38:30 2021 UTC (3 years, 9 months ago) by dan
Diff to previous 5721 , to selected 5305
Add code for clearing cached commits


Revision 5721 - Directory Listing - [select for diffs]
Modified Sun Jun 13 18:47:25 2021 UTC (3 years, 9 months ago) by dan
Diff to previous 5649 , to selected 5305
return multiple records when searching for elements
Revision 5649 - Directory Listing - [select for diffs]
Modified Sun Mar 14 00:56:22 2021 UTC (4 years ago) by dan
Diff to previous 5648 , to selected 5305
Add for better cache clearing: https://news.freshports.org/2021/01/31/changing-how-we-record-ports-which-need-cache-clearing/


Revision 5648 - Directory Listing - [select for diffs]
Modified Sun Mar 14 00:28:59 2021 UTC (4 years ago) by dan
Diff to previous 5647 , to selected 5305
Add pkg_plist()


Revision 5647 - Directory Listing - [select for diffs]
Modified Sun Mar 14 00:25:44 2021 UTC (4 years ago) by dan
Diff to previous 5646 , to selected 5305
add stuff for new search
Revision 5646 - Directory Listing - [select for diffs]
Modified Sun Mar 14 00:09:58 2021 UTC (4 years ago) by dan
Diff to previous 5645 , to selected 5305
comment out conflicts type so we do not lose a table
Revision 5645 - Directory Listing - [select for diffs]
Modified Sat Mar 13 22:15:28 2021 UTC (4 years ago) by dan
Diff to previous 5644 , to selected 5305
 add options_name column to ports table
Revision 5644 - Directory Listing - [select for diffs]
Modified Sat Mar 13 22:14:58 2021 UTC (4 years ago) by dan
Diff to previous 5643 , to selected 5305
add author and committer name and email
Revision 5643 - Directory Listing - [select for diffs]
Modified Wed Mar 10 16:14:04 2021 UTC (4 years ago) by dan
Diff to previous 5640 , to selected 5305
Change the regex for pkgplist from
'lib/[[:alnum:]]*?\.so to
'lib/[^/]*?\.so'

re https://github.com/FreshPorts/freshports/issues/216#issuecomment-794892427

Revision 5640 - Directory Listing - [select for diffs]
Modified Wed Mar 3 01:30:50 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5639 , to selected 5305
commiter -> committer
Revision 5639 - Directory Listing - [select for diffs]
Modified Tue Mar 2 22:45:55 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5638 , to selected 5305
Add new commit_log columns

* committer_name
* committer_email
* author_name
* author_email


Revision 5638 - Directory Listing - [select for diffs]
Modified Tue Mar 2 21:10:13 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5637 , to selected 5305
better suggestion from Magnus
Revision 5637 - Directory Listing - [select for diffs]
Modified Mon Mar 1 19:14:03 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5636 , to selected 5305
This attempt at replacing ports.pkg_plist with generate_plist,installed_file
is close, but not quite right.

Revision 5636 - Directory Listing - [select for diffs]
Modified Mon Mar 1 19:12:34 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5635 , to selected 5305
This is the first attempt at converting expression which one ran on a single column
into one which runs on rows.

Previously, it ran on array_to_json(regexp_match(ports.pkg_plist, 'lib/[[:alpha:]]*?\.so'))

But now those values are speard across several rows in the generate_plist
table.

This first attempt is wrong.

Revision 5635 - Directory Listing - [select for diffs]
Modified Sat Feb 27 19:49:29 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5634 , to selected 5305
Add repo.db_root_prefix

Revision 5634 - Directory Listing - [select for diffs]
Modified Sat Feb 27 19:23:59 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5604 , to selected 5305
Comment out some NOTICE and WARNINGS

Revision 5604 - Directory Listing - [select for diffs]
Modified Mon Feb 8 01:25:36 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5603 , to selected 5305
avoid duplicates in the cache_clearing_ports_test table
Revision 5603 - Directory Listing - [select for diffs]
Modified Mon Feb 8 00:11:59 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5602 , to selected 5305
use CREATE OR REPLACE FUNCTION instead of CREATE FUNCTION
Revision 5602 - Directory Listing - [select for diffs]
Modified Mon Feb 8 00:11:19 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5601 , to selected 5305
Add missing END IF

Revision 5601 - Directory Listing - [select for diffs]
Modified Sun Feb 7 23:50:43 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5600 , to selected 5305
ZTHEN -> THEN

Remove trailing ;


Revision 5600 - Directory Listing - [select for diffs]
Modified Sun Feb 7 14:18:21 2021 UTC (4 years, 1 month ago) by dan
Diff to previous 5597 , to selected 5305
How did that space get in there?


Revision 5597 - Directory Listing - [select for diffs]
Modified Mon Feb 1 02:14:37 2021 UTC (4 years, 2 months ago) by dan
Diff to previous 5596 , to selected 5305
Add in the changes from the subversion branch.


Revision 5596 - Directory Listing - [select for diffs]
Modified Mon Feb 1 01:56:10 2021 UTC (4 years, 2 months ago) by dan
Diff to previous 5595 , to selected 5305
When inserting into the cache_clearing_ports table, which now has a unique
index on port_id, detect a conflict on that index and do nothing if it
occurs.

While here, try to not NOTIFY if we don't have to.

Revision 5595 - Directory Listing - [select for diffs]
Modified Mon Feb 1 01:17:18 2021 UTC (4 years, 2 months ago) by dan
Diff to previous 5542 , to selected 5305
Use -- instead of # for comments

Remove AddNewABIToPackagesLastChecked() which does not compile against the packages_last_checked
table which does not contain a column named branch_id

Revision 5542 - Directory Listing - [select for diffs]
Modified Sun Dec 20 22:26:33 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5541 , to selected 5305
what?


Revision 5541 - Directory Listing - [select for diffs]
Modified Sun Dec 20 22:00:11 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5540 , to selected 5305
Add stuff for updating the database for use by git


Revision 5540 - Directory Listing - [select for diffs]
Modified Sun Dec 20 21:25:40 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5539 , to selected 5305
Remvoe usage of public.

Revision 5539 - Directory Listing - [select for diffs]
Modified Tue Dec 15 02:43:05 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5538 , to selected 5305
Fix this up for devgit - it wasn't all right


Revision 5538 - Directory Listing - [select for diffs]
Modified Sun Dec 13 22:20:52 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5537 , to selected 5305
Attempt to being in updates for git which were not on this branch

Revision 5537 - Directory Listing - [select for diffs]
Modified Sun Dec 13 17:53:30 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5536 , to selected 5305
Copying in things added to the sp branch which were never on the git branch

Revision 5536 - Directory Listing - [select for diffs]
Modified Sun Dec 13 17:50:46 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5535 , to selected 5305
Add in

* GetQuarterlyBranchName
* NormalizeBranch
* DenormalizeBranchName
* AddNewABIToPackagesLastChecked

Which where someone how only over here.


Revision 5535 - Directory Listing - [select for diffs]
Modified Sun Dec 13 16:58:13 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5534 , to selected 5305
spaces onlyi


Revision 5534 - Directory Listing - [select for diffs]
Modified Sun Dec 13 14:13:59 2020 UTC (4 years, 3 months ago) by dan
Diff to previous 5482 , to selected 5305
Add some comments & blank lines


Revision 5482 - Directory Listing - [select for diffs]
Modified Fri Aug 14 01:07:42 2020 UTC (4 years, 7 months ago) by dan
Diff to previous 5481 , to selected 5305
third draft of elementGetCaseInsensitive()
Revision 5481 - Directory Listing - [select for diffs]
Modified Fri Aug 14 00:48:52 2020 UTC (4 years, 7 months ago) by dan
Diff to previous 5480 , to selected 5305
second draft of elementGetCaseInsensitive()
Revision 5480 - Directory Listing - [select for diffs]
Modified Thu Aug 13 22:49:59 2020 UTC (4 years, 7 months ago) by dan
Diff to previous 5479 , to selected 5305
first draft of elementGetCaseInsensitive()
Revision 5479 - Directory Listing - [select for diffs]
Modified Tue Aug 4 12:32:38 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5478 , to selected 5305
Add packager and package roles


Revision 5478 - Directory Listing - [select for diffs]
Modified Tue Aug 4 12:32:01 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5475 , to selected 5305
Add more notices


Revision 5475 - Directory Listing - [select for diffs]
Modified Mon Aug 3 23:17:36 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5472 , to selected 5305
Add GetPort(integer), which pulls the element_pathname for this port

Revision 5472 - Directory Listing - [select for diffs]
Modified Sun Aug 2 22:06:33 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5383 , to selected 5305
If there is nothing to save in port_dependencies_delete_clear_cache(),
don't save it.  It avoids this situation:

freshports.devgit=# delete from element where id = 1058393;
ERROR:  null value in column "category" violates not-null constraint
DETAIL:  Failing row contains (19934459, 59842, null, null, 2020-08-02 21:50:23.967785).
CONTEXT:  SQL statement "INSERT INTO cache_clearing_ports (port_id, category, port)
              VALUES (OLD.port_id, l_category, l_port)"
PL/pgSQL function port_dependencies_delete_clear_cache() line 19 at SQL statement
SQL statement "delete from element 
   where parent_id=old.id"
PL/pgSQL function on_delete_remove_children() line 4 at SQL statement
SQL statement "delete from element 
   where parent_id=old.id"
PL/pgSQL function on_delete_remove_children() line 4 at SQL statement
SQL statement "delete from element 
   where parent_id=old.id"
PL/pgSQL function on_delete_remove_children() line 4 at SQL statement
freshports.devgit=# rollback;



Revision 5383 - Directory Listing - [select for diffs]
Modified Sun Jul 12 17:31:01 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5382 , to selected 5305
When the datatypes need to be redone, redo the datatypes too

Revision 5382 - Directory Listing - [select for diffs]
Modified Sun Jul 12 17:24:28 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5381 , to selected 5305
svn_hostname => repo_hostname


Revision 5381 - Directory Listing - [select for diffs]
Modified Sun Jul 12 17:00:14 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5380 , to selected 5305
RENAME svn_hostname TO repo_hostname


Revision 5380 - Directory Listing - [select for diffs]
Modified Sun Jul 12 16:58:51 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5379 , to selected 5305
Branch for git


Revision 5379 - Directory Listing - [select for diffs]
Modified Sun Jul 12 16:55:59 2020 UTC (4 years, 8 months ago) by dan
Diff to previous 5356 , to selected 5305
whitespace only

Revision 5354 - Directory Listing - [select for diffs]
Modified Sat May 30 16:13:08 2020 UTC (4 years, 10 months ago) by dan
Diff to previous 5341 , to selected 5305
pacakges -> packages


Revision 5341 - Directory Listing - [select for diffs]
Modified Sat May 30 10:53:10 2020 UTC (4 years, 10 months ago) by dan
Diff to previous 5337 , to selected 5305
fix PortVersionLatestBeforeQuarterlyBranch which was not pulling back the
full version information

Revision 5337 - Directory Listing - [select for diffs]
Modified Sat May 16 17:21:53 2020 UTC (4 years, 10 months ago) by dan
Diff to previous 5331 , to selected 5305
pg_hba.conf not pg_hba,conf


Revision 5331 - Directory Listing - [select for diffs]
Modified Sun May 3 22:22:01 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5329 , to selected 5305
Move some inserts into another ddl update file.

This one to be run after ri.txt


Revision 5329 - Directory Listing - [select for diffs]
Modified Sun May 3 19:53:58 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5328 , to selected 5305
A copy of package_imports_completed is needed here


Revision 5328 - Directory Listing - [select for diffs]
Modified Sun May 3 15:27:59 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5327 , to selected 5305
Move iso_date() and iso_date_seconds() above where they are used.


Revision 5327 - Directory Listing - [select for diffs]
Modified Sun May 3 15:25:08 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5322 , to selected 5305
Adjust PortPackages to also return processed_date

While here, return formatted dates, without seconds.

Create iso_date_seconds() to format that date.

Revision 5322 - Directory Listing - [select for diffs]
Modified Thu Apr 30 00:08:04 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5321 , to selected 5305
add GetPackageStatus() and iso_date()
Revision 5321 - Directory Listing - [select for diffs]
Modified Wed Apr 29 19:14:05 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5313 , to selected 5305
Add value to listen_for for clearing packages.


Revision 5313 - Directory Listing - [select for diffs]
Modified Tue Apr 28 20:15:39 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5312 , to selected 5305
Properly save away the package_raw update code.

See http://news.freshports.org/2020/04/28/found-new-repo-release-automatically-imported-it


Revision 5312 - Directory Listing - [select for diffs]
Modified Mon Apr 27 20:47:02 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5306 , to selected 5305
Add new columns to package_imports

Revision 5306 - Directory Listing - [select for diffs]
Modified Mon Apr 27 14:48:28 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5305
PackagesLastCheckedSetRepoDate() needs to grab the pre-update value of repo_date for comparison
Revision 5305 - Directory Listing - [selected]
Modified Mon Apr 27 01:14:42 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5303
Change the update package_imports table to set newly added columns:

  last_checked, repo_date, import_date, processed_date


Revision 5303 - Directory Listing - [select for diffs]
Modified Fri Apr 24 21:45:49 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5302 , to selected 5305
Rewrite PackagesLastCheckedSetRepoDate to clear processed_date & import_date
if the new repo_date is not the same as the incoming date.

If the dates are the same, no update occurs.

Returns the number of rows updated.


Revision 5302 - Directory Listing - [select for diffs]
Modified Fri Apr 24 19:17:53 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5301 , to selected 5305
Remove ports_origin from the equation

Revision 5301 - Directory Listing - [select for diffs]
Modified Fri Apr 24 19:17:31 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5300 , to selected 5305
Update packages_raw by joining with ports and element_pathname

Revision 5300 - Directory Listing - [select for diffs]
Modified Fri Apr 24 14:07:02 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5299 , to selected 5305
Document why the analyse is required before DELETE

Revision 5299 - Directory Listing - [select for diffs]
Modified Fri Apr 24 14:06:02 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5298 , to selected 5305
Adjust names for some functions to better describe what they do.

Revision 5298 - Directory Listing - [select for diffs]
Modified Thu Apr 23 17:32:05 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5297 , to selected 5305
Add

* PackagesLastCheckedSetImportDate()
* PackagesGetReposNeedingImports()

Revision 5297 - Directory Listing - [select for diffs]
Modified Tue Apr 21 23:44:15 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5296 , to selected 5305
fix packages_last_checked to use package_sets

populate public.abi


Revision 5296 - Directory Listing - [select for diffs]
Modified Tue Apr 21 23:43:41 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5295 , to selected 5305
Add

* GetReposToReview
* PackagesLastCheckedSetRepoDate


Revision 5295 - Directory Listing - [select for diffs]
Modified Tue Apr 21 23:42:56 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5294 , to selected 5305
when a new row goes into abi, add two rows into packages_last_checked


Revision 5294 - Directory Listing - [select for diffs]
Modified Tue Apr 21 15:04:26 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5293 , to selected 5305
Fix how the updates are done for port_origin.  There is no OLD to check.


Revision 5293 - Directory Listing - [select for diffs]
Modified Tue Apr 21 13:57:28 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5292 , to selected 5305
Rename trigger and function ports_origin_insert to ports_origin_maintain
because it's run on both update and insert, not just insert.

Use IS DISTINCT FROM on the update.  


Revision 5292 - Directory Listing - [select for diffs]
Modified Tue Apr 21 12:58:42 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5291 , to selected 5305
Add public.package_imports


Revision 5291 - Directory Listing - [select for diffs]
Modified Mon Apr 20 23:27:11 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5290 , to selected 5305
Add in the real PortPackages

Revision 5290 - Directory Listing - [select for diffs]
Modified Mon Apr 20 23:18:26 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5289 , to selected 5305
Updates to reduce stuf we don't need any more


Revision 5289 - Directory Listing - [select for diffs]
Modified Mon Apr 20 21:02:53 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5288 , to selected 5305
Add ABI table

Revision 5288 - Directory Listing - [select for diffs]
Modified Mon Apr 20 20:57:58 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5287 , to selected 5305
Add DDL for packages


Revision 5287 - Directory Listing - [select for diffs]
Modified Mon Apr 20 14:41:35 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5286 , to selected 5305
Whitespace for element_pathname_update

Change ports_origin_insert to pull port_origin first

Then do the UPDATE only if things have changed - no need to churn


Revision 5286 - Directory Listing - [select for diffs]
Modified Mon Apr 20 00:25:39 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5285 , to selected 5305
When copying data from packages_raw to packages, first set port_id and
abi_id

When comparing, also use P.port_id          = PR.port_id

addReviewed by:	

Revision 5285 - Directory Listing - [select for diffs]
Modified Mon Apr 20 00:24:40 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5284 , to selected 5305
keep the ports_origin table up to date

when package_imports is updated, note that in the packages_last_checked
table

a bunch of ' on ' to ' ON ' etc


Revision 5284 - Directory Listing - [select for diffs]
Modified Sat Apr 18 15:03:52 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5283 , to selected 5305
Work in progress

Revision 5283 - Directory Listing - [select for diffs]
Modified Fri Apr 17 21:33:38 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5282 , to selected 5305
Add UpdatePackagesFromRawPackages()

Revision 5282 - Directory Listing - [select for diffs]
Modified Fri Apr 17 13:17:13 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5281 , to selected 5305
add PackagesRawDeleteForABIPackageSet()
Revision 5281 - Directory Listing - [select for diffs]
Modified Wed Apr 15 17:01:59 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5280 , to selected 5305
DISTINCT doesn't need ()
sort_key is no longer required

Revision 5280 - Directory Listing - [select for diffs]
Modified Tue Apr 14 03:07:11 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5279 , to selected 5305
PortPackages is working.


Revision 5279 - Directory Listing - [select for diffs]
Modified Tue Apr 14 02:41:43 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5278 , to selected 5305
We got progress


Revision 5278 - Directory Listing - [select for diffs]
Modified Sun Apr 12 22:43:46 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5277 , to selected 5305
We now have a scripts to load in new stuff


Revision 5277 - Directory Listing - [select for diffs]
Modified Sun Apr 12 15:01:48 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5276 , to selected 5305
Expand PortPackages to pull back dates from packages_last_checked


Revision 5276 - Directory Listing - [select for diffs]
Modified Sun Apr 12 14:40:44 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5275 , to selected 5305
adding:

* NormalizeBranch - convert latest to head and quarterly to latest branch
* PackagesLastCheckedSetRepoDate(a_abi_name text, a_branch_name text, a_CheckedDate text) 


Revision 5275 - Directory Listing - [select for diffs]
Modified Sun Apr 12 13:56:59 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5274 , to selected 5305
Add AddNewABIToPackagesLastChecked()

This should be invoked each time a new row is added to the ABI table.


Revision 5274 - Directory Listing - [select for diffs]
Modified Sun Apr 12 00:24:42 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5273 , to selected 5305
Add stuff


Revision 5273 - Directory Listing - [select for diffs]
Modified Sat Apr 11 22:17:09 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5272 , to selected 5305
Making good progress on packages

Revision 5272 - Directory Listing - [select for diffs]
Modified Sat Apr 11 15:47:37 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5271 , to selected 5305
Add stuff related to packages

Revision 5271 - Directory Listing - [select for diffs]
Modified Thu Apr 9 12:38:00 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5249 , to selected 5305
Add DeleteUser

Delete by user id as supplied by the code.
The initial intent was to delete by cookie, but that
value is on the client.  Let's do this by id instead.

SECURITY DEFINER - means run this function as the user
                   which created. This means the www
                   user does not require write permission
                   on the users table.



Revision 5249 - Directory Listing - [select for diffs]
Modified Tue Jan 21 15:09:02 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5242 , to selected 5305
'initial package'
Revision 5242 - Directory Listing - [select for diffs]
Modified Sun Dec 29 18:51:43 2019 UTC (5 years, 3 months ago) by dan
Diff to previous 5238 , to selected 5305
Whitespace only

Revision 5238 - Directory Listing - [select for diffs]
Modified Thu Nov 14 13:20:26 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5235 , to selected 5305
Fix CreatePort(text,text,text) by not using GetPort() with the SQL.
It seems to not be pulling in the correct value.


Revision 5235 - Directory Listing - [select for diffs]
Modified Tue Nov 12 22:05:22 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5234 , to selected 5305
use = not ==


Revision 5234 - Directory Listing - [select for diffs]
Modified Tue Nov 12 14:54:25 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5233 , to selected 5305
remove debugging recently added to element_pathname_insert()


Revision 5233 - Directory Listing - [select for diffs]
Modified Tue Nov 12 14:52:54 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5232 , to selected 5305
Fix new element insertion failures on PostgreSQL 12

Was getting this:

select Element_Add('/ports/head/www/httpdirfs/', 'F');

ERROR:  duplicate key value violates unique constraint "element_pathname_pathname" DETAIL:  Key (pathname)=() already exists.


Because:

      INSERT INTO element_pathname (element_id, pathname)
         VALUES (NEW.id, element_pathname(NEW.id));

The pathname value was always NULL.

The fix, change the SQL to:

   DECLARE
     l_pathname  text;
   BEGIN
     l_pathname := element_pathname(NEW.id);
     INSERT INTO element_pathname (element_id, pathname) 
         VALUES (NEW.id, l_pathname);





Revision 5232 - Directory Listing - [select for diffs]
Modified Tue Nov 12 02:02:27 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5223 , to selected 5305
Updates for PostgreSQL 12

iscachable -> IMMUTABLE

Use ROW_COUNT because RESULT_OID is gone.


Revision 5223 - Directory Listing - [select for diffs]
Modified Sat May 25 17:15:59 2019 UTC (5 years, 10 months ago) by dan
Diff to previous 5222 , to selected 5305
Add Quarterly revision

* fixes #115
* display the port version on the latest quarterly branch

Add sort-by last updated

* fixes #116


Revision 5222 - Directory Listing - [select for diffs]
Modified Sat May 25 17:13:01 2019 UTC (5 years, 10 months ago) by dan
Diff to previous 5196 , to selected 5305
Start describing the upgrade

Revision 5196 - Directory Listing - [select for diffs]
Modified Thu Dec 27 21:39:09 2018 UTC (6 years, 3 months ago) by dan
Diff to previous 5194 , to selected 5305
Remove stuff no long relevent
Add mention of sudoers.


Revision 5194 - Directory Listing - [select for diffs]
Modified Fri Dec 14 21:22:37 2018 UTC (6 years, 3 months ago) by dan
Diff to previous 5192 , to selected 5305
Better instructions

Revision 5192 - Directory Listing - [select for diffs]
Modified Thu Nov 29 19:26:41 2018 UTC (6 years, 4 months ago) by dan
Diff to previous 5191 , to selected 5305
whitespace only


Revision 5191 - Directory Listing - [select for diffs]
Modified Thu Nov 29 19:26:16 2018 UTC (6 years, 4 months ago) by dan
Diff to previous 5181 , to selected 5305
Commit out  We DID NOT LOCATE that port


Revision 5181 - Directory Listing - [select for diffs]
Modified Sat Nov 10 20:19:57 2018 UTC (6 years, 4 months ago) by dan
Diff to previous 5179 , to selected 5305
rsyncer must be able to dump all tables


Revision 5179 - Directory Listing - [select for diffs]
Modified Tue Oct 23 02:46:39 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5176 , to selected 5305
Comment out some RAISE NOTICE


Revision 5176 - Directory Listing - [select for diffs]
Modified Tue Oct 23 01:17:57 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5175 , to selected 5305
do not drop TYPE conflicts

Revision 5175 - Directory Listing - [select for diffs]
Modified Tue Oct 23 01:17:34 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5174 , to selected 5305
mention flavors script

Revision 5174 - Directory Listing - [select for diffs]
Modified Mon Oct 22 17:16:14 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5173 , to selected 5305
Change DROP TRIGGER to DROP TRIGGER IF EXISTS

Revision 5173 - Directory Listing - [select for diffs]
Modified Mon Oct 22 17:16:00 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5172 , to selected 5305
Do not create plperl here.  It already exists. That creation is done via an
UPGRADE.


Revision 5172 - Directory Listing - [select for diffs]
Modified Mon Oct 22 17:10:18 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5171 , to selected 5305
Add the tables and functions for package flavors


Revision 5171 - Directory Listing - [select for diffs]
Modified Mon Oct 22 17:09:57 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5169 , to selected 5305
Here is a better way to implement LatestCommitDatePorts()


Revision 5169 - Directory Listing - [select for diffs]
Modified Sun Oct 21 19:49:35 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5166 , to selected 5305
Add package flavors

Revision 5166 - Directory Listing - [select for diffs]
Modified Fri Oct 19 21:33:44 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5159 , to selected 5305
Fix the way we calculate the number of vulnerable ports.


Revision 5159 - Directory Listing - [select for diffs]
Modified Sun Oct 14 17:50:10 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5141 , to selected 5305
Correct CategoryPortCount() so it uses the incoming parmeter, not a
hardcoded 'databases' value.

Revision 5141 - Directory Listing - [select for diffs]
Modified Wed Oct 10 20:25:26 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5138 , to selected 5305
Fix CategoryPortCount() to be branch-aware

Revision 5138 - Directory Listing - [select for diffs]
Modified Tue Oct 9 19:07:56 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5137 , to selected 5305
This fixes: https://github.com/FreshPorts/freshports/issues/67

Revision 5137 - Directory Listing - [select for diffs]
Modified Tue Oct 9 17:42:38 2018 UTC (6 years, 5 months ago) by dan
Diff to previous 5129 , to selected 5305
Document the changes for GetPortFromPackageName()

Revision 5129 - Directory Listing - [select for diffs]
Modified Fri Sep 28 21:03:38 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5128 , to selected 5305
Add: CREATE TRUSTED PROCEDURAL LANGUAGE plperl


Revision 5128 - Directory Listing - [select for diffs]
Modified Fri Sep 28 21:01:08 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5127 , to selected 5305
Add ports_conflicts_set trigger


Revision 5127 - Directory Listing - [select for diffs]
Modified Fri Sep 28 21:00:47 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5126 , to selected 5305
Add permissions for CONFLICTS

Revision 5126 - Directory Listing - [select for diffs]
Modified Wed Sep 26 11:37:37 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5125 , to selected 5305
This is what worked for CONFLICTS on staging.


Revision 5125 - Directory Listing - [select for diffs]
Modified Wed Sep 26 11:36:32 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5116 , to selected 5305
Save work in progress


Revision 5116 - Directory Listing - [select for diffs]
Modified Sun Sep 16 20:56:25 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5115 , to selected 5305
Remove cruft


Revision 5115 - Directory Listing - [select for diffs]
Modified Sun Sep 16 20:55:24 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5114 , to selected 5305
remove cruft


Revision 5114 - Directory Listing - [select for diffs]
Modified Sun Sep 16 20:49:22 2018 UTC (6 years, 6 months ago) by dan
Diff to previous 5026 , to selected 5305
Working on CONFLICTS

What I'm saving here will have to be trimmed, but I'm saving everything so I
have it.


Revision 5022 - Directory Listing - [select for diffs]
Modified Wed Dec 13 23:01:24 2017 UTC (7 years, 3 months ago) by dan
Diff to previous 4891 , to selected 5305
Flush the cache when vuxml processing occurs

Revision 4891 - Directory Listing - [select for diffs]
Modified Tue Oct 17 23:15:20 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4890 , to selected 5305
Add port_dependencies_clear_cache()


Revision 4890 - Directory Listing - [select for diffs]
Modified Tue Oct 17 23:14:44 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4814 , to selected 5305
Remove ports.makefile & ports.pkg_plist
Add generate_plist


Revision 4814 - Directory Listing - [select for diffs]
Modified Sat Sep 9 18:31:11 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4813 , to selected 5305
Correctly count on head: Restricted, NO CDROM, and Vulnerable


Revision 4813 - Directory Listing - [select for diffs]
Modified Sat Sep 9 18:20:45 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4812 , to selected 5305
Correctly count Ingored ports


Revision 4812 - Directory Listing - [select for diffs]
Modified Sat Sep 9 18:16:50 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4811 , to selected 5305
Correctly count deprecated on head


Revision 4811 - Directory Listing - [select for diffs]
Modified Sat Sep 9 18:12:57 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4810 , to selected 5305
Count broken ports only on head


Revision 4810 - Directory Listing - [select for diffs]
Modified Sat Sep 9 17:54:32 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4809 , to selected 5305
Make the count of expired and expiring ports branch aware.


Revision 4809 - Directory Listing - [select for diffs]
Modified Sat Sep 9 01:15:21 2017 UTC (7 years, 6 months ago) by dan
Diff to previous 4807 , to selected 5305
Correctly count the number of new ports on head.


Revision 4807 - Directory Listing - [select for diffs]
Modified Sat Aug 12 17:50:04 2017 UTC (7 years, 7 months ago) by dan
Diff to previous 4803 , to selected 5305
Make WatchListStagingProcess operate upon HEAD only


Revision 4803 - Directory Listing - [select for diffs]
Modified Fri May 12 00:17:54 2017 UTC (7 years, 10 months ago) by dan
Diff to previous 4801 , to selected 5305
Fix the number of params in a NOTICE.
Bug was noticed by PostgreSQL 9.6

Revision 4801 - Directory Listing - [select for diffs]
Modified Mon Oct 31 00:32:09 2016 UTC (8 years, 5 months ago) by dan
Diff to previous 4800 , to selected 5305
When deleting from ports_vulnerable the port might
already be deleted.  Cater for that.

Revision 4800 - Directory Listing - [select for diffs]
Modified Mon Oct 31 00:30:40 2016 UTC (8 years, 5 months ago) by dan
Diff to previous 4799 , to selected 5305
comments only

Revision 4799 - Directory Listing - [select for diffs]
Modified Mon Aug 15 21:15:11 2016 UTC (8 years, 7 months ago) by dan
Diff to previous 4798 , to selected 5305
Correct filename

Revision 4798 - Directory Listing - [select for diffs]
Modified Mon Aug 15 21:08:07 2016 UTC (8 years, 7 months ago) by dan
Diff to previous 4797 , to selected 5305
Make many changes to remove php errors, mostly undefined index/variable

Revision 4797 - Directory Listing - [select for diffs]
Modified Thu Aug 11 17:10:02 2016 UTC (8 years, 7 months ago) by dan
Diff to previous 4796 , to selected 5305
Better cache clearing

Revision 4796 - Directory Listing - [select for diffs]
Modified Tue Jul 26 22:33:58 2016 UTC (8 years, 8 months ago) by dan
Diff to previous 4795 , to selected 5305
* convert all DROP TRIGGER to DROP TRIGGER IF EXISTS
* add port_dependencies_insert_clear_cache() and port_dependencies_delete_clear_cache()
  to properly handle changes to the port_dependencies table

Revision 4795 - Directory Listing - [select for diffs]
Modified Mon Jul 18 22:22:18 2016 UTC (8 years, 8 months ago) by dan
Diff to previous 4791 , to selected 5305
Add pkg_plist & makefile

Revision 4791 - Directory Listing - [select for diffs]
Modified Fri Jul 15 21:20:12 2016 UTC (8 years, 8 months ago) by dan
Diff to previous 4790 , to selected 5305
Better creation of ports

Revision 4790 - Directory Listing - [select for diffs]
Modified Thu Jul 14 23:07:49 2016 UTC (8 years, 8 months ago) by dan
Diff to previous 4788 , to selected 5305
distinfo stuff

Revision 4788 - Directory Listing - [select for diffs]
Modified Thu Jul 14 20:46:54 2016 UTC (8 years, 8 months ago) by dan
Diff to previous 4777 , to selected 5305
Add new columns for no-package
https://github.com/FreshPorts/freshports/issues/9

Revision 4777 - Directory Listing - [select for diffs]
Modified Tue Jul 5 18:31:00 2016 UTC (8 years, 9 months ago) by dan
Diff to previous 4774 , to selected 5305
whitespace

Revision 4774 - Directory Listing - [select for diffs]
Modified Sat Jul 2 18:32:45 2016 UTC (8 years, 9 months ago) by dan
Diff to previous 4773 , to selected 5305
Add CopyPortFromHeadToBranch(text, text, text) & CreatePort(text, text, text)
add new datatype: element_id_pathname
alter all ''DROP TYPE' to 'DROP TYPE IF EXISTS'
re:

http://news.freshports.org/2016/06/28/branches-are-simple-but-more-complex-than-head/
http://news.freshports.org/2016/06/29/branches-add-a-new-port-automagically/
http://news.freshports.org/2016/07/02/copying-a-port-from-head-to-a-branch/
http://news.freshports.org/2016/07/02/a-single-function-for-creating-a-new-port/

Revision 4773 - Directory Listing - [select for diffs]
Modified Sat Jul 2 15:25:08 2016 UTC (8 years, 9 months ago) by dan
Diff to previous 4767 , to selected 5305
The stored procedure GetGategory($CategoryName) did not work so I changed it
to prefix the category name with 'ports/head/' instead of just 'ports/'.
It seems this function was not used anywhere, but at least now it works.

Revision 4767 - Directory Listing - [select for diffs]
Modified Sat Apr 23 13:20:21 2016 UTC (8 years, 11 months ago) by dan
Diff to previous 4764 , to selected 5305
Add pkgmessage to ports

Revision 4764 - Directory Listing - [select for diffs]
Modified Mon Apr 18 01:59:05 2016 UTC (8 years, 11 months ago) by dan
Diff to previous 4763 , to selected 5305
Add a bunch of debugging for processing UPDATING
add repo.name to a query or two

Revision 4763 - Directory Listing - [select for diffs]
Modified Mon Apr 18 01:57:50 2016 UTC (8 years, 11 months ago) by dan
Diff to previous 4760 , to selected 5305
null OR space, works better now

Revision 4760 - Directory Listing - [select for diffs]
Modified Sun Apr 3 18:36:19 2016 UTC (9 years ago) by dan
Diff to previous 4758 , to selected 5305
Add entry to listen_for table

Revision 4758 - Directory Listing - [select for diffs]
Modified Sun Apr 3 18:32:51 2016 UTC (9 years ago) by dan
Diff to previous 4735 , to selected 5305
Add cache_clearing_dates and the RI for it.

Revision 4735 - Directory Listing - [select for diffs]
Modified Fri Jul 31 15:27:52 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4696 , to selected 5305
Comment out a RAISE notice

Revision 4696 - Directory Listing - [select for diffs]
Modified Wed Dec 31 21:36:50 2014 UTC (10 years, 3 months ago) by dan
Diff to previous 4668 , to selected 5305
More fields!  FETCH_DEPENDS, EXTRACT_DEPENDS, PATCH_DEPENDS, and USES

Revision 4668 - Directory Listing - [select for diffs]
Modified Sun Sep 21 17:20:27 2014 UTC (10 years, 6 months ago) by dan
Diff to previous 4657 , to selected 5305
REturn repo.name

Revision 4657 - Directory Listing - [select for diffs]
Modified Sun Sep 21 17:12:23 2014 UTC (10 years, 6 months ago) by dan
Diff to previous 4656 , to selected 5305
Get ready for more detail on commits

Revision 4656 - Directory Listing - [select for diffs]
Modified Sun Sep 21 16:58:52 2014 UTC (10 years, 6 months ago) by dan
Diff to previous 4623 , to selected 5305
add trailing newline

Revision 4623 - Directory Listing - [select for diffs]
Modified Thu Mar 27 02:09:38 2014 UTC (11 years ago) by dan
Diff to previous 4594 , to selected 5305
Missed these

Revision 4594 - Directory Listing - [select for diffs]
Modified Thu Jan 30 20:07:05 2014 UTC (11 years, 2 months ago) by dan
Diff to previous 4580 , to selected 5305
Update for branches

Revision 4580 - Directory Listing - [select for diffs]
Modified Sat Jan 25 19:09:29 2014 UTC (11 years, 2 months ago) by dan
Diff to previous 4566 , to selected 5305
Make sure we never have false null values for ports.commit_log_id

Revision 4566 - Directory Listing - [select for diffs]
Modified Thu Jan 23 23:31:24 2014 UTC (11 years, 2 months ago) by dan
Diff to previous 4517 , to selected 5305
Fix updates to revision name

Revision 4517 - Directory Listing - [select for diffs]
Modified Wed Feb 13 19:15:34 2013 UTC (12 years, 1 month ago) by dan
Diff to previous 4500 , to selected 5305
Add in index on commit_log (committer)

Revision 4500 - Directory Listing - [select for diffs]
Modified Sat Dec 29 21:35:32 2012 UTC (12 years, 3 months ago) by dan
Diff to previous 4483 , to selected 5305
How to use jails

Revision 4483 - Directory Listing - [select for diffs]
Modified Thu Sep 27 12:31:54 2012 UTC (12 years, 6 months ago) by dan
Diff to previous 4477 , to selected 5305
Add a couple more things for the update

Revision 4477 - Directory Listing - [select for diffs]
Modified Mon Sep 24 15:14:42 2012 UTC (12 years, 6 months ago) by dan
Diff to previous 4472 , to selected 5305
Moving to full pathnames, including repo, on commits

Revision 4472 - Directory Listing - [select for diffs]
Modified Mon Sep 3 00:26:52 2012 UTC (12 years, 7 months ago) by dan
Diff to previous 4467 , to selected 5305
Update this for 9.x

Revision 4467 - Directory Listing - [select for diffs]
Modified Wed Aug 29 22:25:43 2012 UTC (12 years, 7 months ago) by dan
Diff to previous 4457 , to selected 5305
Add revision

Revision 4457 - Directory Listing - [select for diffs]
Modified Tue Aug 7 13:07:32 2012 UTC (12 years, 7 months ago) by dan
Diff to previous 4444 , to selected 5305
Change the way we look up at Port ID. This was causing problems for some
ports, which were deleted before we created the ports_categories table.
And thus, have no entries in this table.

Revision 4444 - Directory Listing - [select for diffs]
Modified Sat Jul 21 23:56:21 2012 UTC (12 years, 8 months ago) by dan
Diff to previous 4421 , to selected 5305
Add new column to vuxml table for checksum
Use this to see if a vuln changes.

Revision 4421 - Directory Listing - [select for diffs]
Modified Tue Jun 26 12:29:39 2012 UTC (12 years, 9 months ago) by dan
Diff to previous 4420 , to selected 5305
Performance on vuln lookup

Revision 4420 - Directory Listing - [select for diffs]
Modified Tue Jun 26 12:29:25 2012 UTC (12 years, 9 months ago) by dan
Diff to previous 4387 , to selected 5305
Correct the calculations of vulnerabilities by not using ports_vulnerable
table.  That's what we're setting up now. Don't use it.

Revision 4387 - Directory Listing - [select for diffs]
Modified Mon Jan 23 16:51:16 2012 UTC (13 years, 2 months ago) by dan
Diff to previous 4384 , to selected 5305
Add some RI to commit_log_ports_elements

Revision 4384 - Directory Listing - [select for diffs]
Modified Sun Oct 2 17:30:40 2011 UTC (13 years, 6 months ago) by dan
Diff to previous 4380 , to selected 5305
When rows are deleted from ports_vulnerable, be sure to clear the cache

Revision 4380 - Directory Listing - [select for diffs]
Modified Sat Sep 24 19:28:29 2011 UTC (13 years, 6 months ago) by dan
Diff to previous 4355 , to selected 5305
For some commits, there are no files touched.  Allow for that in the SQL
by using left outer joins
If a port cannot be found, raise a notice, not an exception.

Revision 4355 - Directory Listing - [select for diffs]
Modified Sun Feb 6 15:02:30 2011 UTC (14 years, 1 month ago) by dan
Diff to previous 4347 , to selected 5305
Add the stored procedure for PortsDependenciesAdd()

Revision 4347 - Directory Listing - [select for diffs]
Modified Sat Feb 5 18:21:22 2011 UTC (14 years, 2 months ago) by dan
Diff to previous 4346 , to selected 5305
Add the upgrade for port_dependencies

Revision 4346 - Directory Listing - [select for diffs]
Modified Sat Feb 5 18:18:50 2011 UTC (14 years, 2 months ago) by dan
Diff to previous 4331 , to selected 5305
Add port_dependencies

Revision 4331 - Directory Listing - [select for diffs]
Modified Mon Sep 20 14:11:43 2010 UTC (14 years, 6 months ago) by dan
Diff to previous 4322 , to selected 5305
Slight tweaks to SQL

Revision 4322 - Directory Listing - [select for diffs]
Modified Fri Sep 17 14:36:03 2010 UTC (14 years, 6 months ago) by dan
Diff to previous 4318 , to selected 5305
Add password reset stuff

Revision 4318 - Directory Listing - [select for diffs]
Modified Thu Sep 16 15:48:07 2010 UTC (14 years, 6 months ago) by dan
Diff to previous 4289 , to selected 5305
Document upgrade for license support

Revision 4289 - Directory Listing - [select for diffs]
Modified Tue Sep 9 13:02:38 2008 UTC (16 years, 6 months ago) by dan
Diff to previous 4287 , to selected 5305
Put the bracket ( in the right place.

Revision 4287 - Directory Listing - [select for diffs]
Modified Mon Sep 1 14:45:53 2008 UTC (16 years, 7 months ago) by dan
Diff to previous 4286 , to selected 5305
better quoting, to cope with 8.3 strictness

Revision 4286 - Directory Listing - [select for diffs]
Modified Mon Sep 1 14:16:08 2008 UTC (16 years, 7 months ago) by dan
Diff to previous 4285 , to selected 5305
convert to $$ for procedures

Revision 4285 - Directory Listing - [select for diffs]
Modified Mon Sep 1 13:58:18 2008 UTC (16 years, 7 months ago) by dan
Diff to previous 4284 , to selected 5305
Go to $$ quoting

Revision 4284 - Directory Listing - [select for diffs]
Modified Mon Sep 1 13:51:23 2008 UTC (16 years, 7 months ago) by dan
Diff to previous 4257 , to selected 5305
Cast the first arguent to digest().
Under 8.3.3 it seems to need this.

Revision 4257 - Directory Listing - [select for diffs]
Modified Sat Jan 19 00:11:12 2008 UTC (17 years, 2 months ago) by dan
Diff to previous 4252 , to selected 5305
For showconfig

Revision 4252 - Directory Listing - [select for diffs]
Modified Fri Jan 18 18:42:23 2008 UTC (17 years, 2 months ago) by dan
Diff to previous 4222 , to selected 5305
Add ports.showconfig, which will be the output of make showconfig

Revision 4222 - Directory Listing - [select for diffs]
Modified Wed Oct 24 12:37:15 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4178 , to selected 5305
Sanity test failure table now has FK with delete cascade, not delete restrict.

Revision 4178 - Directory Listing - [select for diffs]
Modified Tue Oct 16 18:28:49 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4177 , to selected 5305
Add triggers to keep watch list count up to date as people add/change
entries to/from their watch lists.

Revision 4177 - Directory Listing - [select for diffs]
Modified Tue Oct 16 18:27:56 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4171 , to selected 5305
no idea what changed here

Revision 4171 - Directory Listing - [select for diffs]
Modified Fri Oct 12 15:16:43 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4170 , to selected 5305
Add the master_slave() table, as yet unused.
See http://news.freshports.org/2007/10/12/masterslave-relationships/

Revision 4170 - Directory Listing - [select for diffs]
Modified Fri Oct 12 15:16:05 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4138 , to selected 5305
For freshports_commit_port, invoke element_pathname() such that it does not
provide a leading slash in the filename.

Revision 4138 - Directory Listing - [select for diffs]
Modified Mon Aug 20 13:24:53 2007 UTC (17 years, 7 months ago) by dan
Diff to previous 4105 , to selected 5305
Sanity Test Failures should have a delete cascade, not delete restrict,
relationship with commit_log

Revision 4105 - Directory Listing - [select for diffs]
Modified Wed May 23 03:22:01 2007 UTC (17 years, 10 months ago) by dan
Diff to previous 4091 , to selected 5305
Add a return NEW to categories_new()

Revision 4091 - Directory Listing - [select for diffs]
Modified Fri Apr 6 16:08:39 2007 UTC (18 years ago) by dan
Diff to previous 4090 , to selected 5305
Alter the announcements table to have plain text.

Revision 4090 - Directory Listing - [select for diffs]
Modified Fri Apr 6 16:08:22 2007 UTC (18 years ago) by dan
Diff to previous 4078 , to selected 5305
Add AnnouncementsGetPlain()
Alter AnnouncementsGet() so it does not need an end date

Revision 4078 - Directory Listing - [select for diffs]
Modified Mon Apr 2 02:03:28 2007 UTC (18 years ago) by dan
Diff to previous 4076 , to selected 5305
for the design_results table

Revision 4076 - Directory Listing - [select for diffs]
Modified Sun Mar 18 23:31:45 2007 UTC (18 years ago) by dan
Diff to previous 4048 , to selected 5305
Add GetParentID

Revision 4048 - Directory Listing - [select for diffs]
Modified Wed Jan 31 22:48:36 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4045 , to selected 5305
Instructions for daemontools/fp-listen/config.py

Revision 4045 - Directory Listing - [select for diffs]
Modified Wed Jan 31 22:43:35 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4044 , to selected 5305
add processing for NOTIFY category_new

Revision 4044 - Directory Listing - [select for diffs]
Modified Wed Jan 31 22:43:19 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4043 , to selected 5305
instructions for adding processing of www/en/ports/categories for fp-listen

Revision 4043 - Directory Listing - [select for diffs]
Modified Wed Jan 31 21:49:24 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4011 , to selected 5305
Add new event to look for:

insert into listen_for (name, script_name) values ('category_new',
'listen_category_new');

When a new category appears, process the categories file.

Revision 4011 - Directory Listing - [select for diffs]
Modified Sun Dec 17 11:55:54 2006 UTC (18 years, 3 months ago) by dan
Diff to previous 4008 , to selected 5305
Merge from FreshPorts2 to HEAD

Revision 4008 - Directory Listing - [select for diffs]
Modified Fri Dec 15 19:21:27 2006 UTC (18 years, 3 months ago) by dan
Diff to previous 4007 , to selected 5305
CLE.revision_name is now returned as revision_name, not revision

Revision 4007 - Directory Listing - [select for diffs]
Modified Fri Dec 15 19:21:03 2006 UTC (18 years, 3 months ago) by dan
Diff to previous 3960 , to selected 5305
Add commit_group and commit_group_contents

Revision 3960 - Directory Listing - [select for diffs]
Modified Fri Nov 10 03:28:00 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3959 , to selected 5305
Add sanity_test_failures

Revision 3959 - Directory Listing - [select for diffs]
Modified Fri Nov 10 03:27:36 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3958 , to selected 5305
Add changes to element_type

Revision 3958 - Directory Listing - [select for diffs]
Modified Fri Nov 10 03:27:23 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3957 , to selected 5305
Add element_pathname to elementGet()

Revision 3957 - Directory Listing - [select for diffs]
Modified Fri Nov 10 03:26:54 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3932 , to selected 5305
Add element_pathname to element_type

Revision 3932 - Directory Listing - [select for diffs]
Modified Tue Nov 7 12:34:30 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3922 , to selected 5305
When calculating Daily Stats, put the value into a bigint.

Revision 3922 - Directory Listing - [select for diffs]
Modified Sun Nov 5 13:26:42 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3920 , to selected 5305
Add more capacity to the daily_stats_table by using bigint.

Revision 3920 - Directory Listing - [select for diffs]
Modified Sat Nov 4 19:41:31 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3910 , to selected 5305
element_pathname becomes pathname
Add DROP TYPE to make it easier to use this in a script

Revision 3910 - Directory Listing - [select for diffs]
Modified Tue Oct 31 13:34:08 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3909 , to selected 5305
Add Stats_DatabaseSize
Order output by good stuff.

Revision 3909 - Directory Listing - [select for diffs]
Modified Tue Oct 31 13:33:51 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3897 , to selected 5305
Add details for page_size and database size

Revision 3897 - Directory Listing - [select for diffs]
Modified Thu Oct 26 15:42:12 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3883 , to selected 5305
fix broken command

Revision 3883 - Directory Listing - [select for diffs]
Modified Sat Oct 21 13:41:31 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3865 , to selected 5305
Add freshports_commit_regular() and freshports_commit_port() to pull back
the right stuff for a given message ID.

Revision 3865 - Directory Listing - [select for diffs]
Modified Sun Oct 15 02:37:41 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3862 , to selected 5305
Take only what's in the user's staging area, not the whole staging area.

Reported by Christian Ullrich <chris@chrullrich.de>

Revision 3862 - Directory Listing - [select for diffs]
Modified Sat Oct 14 15:45:24 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3845 , to selected 5305
Add Sanity Test Failure upgrade notes

Revision 3845 - Directory Listing - [select for diffs]
Modified Sat Oct 14 15:23:40 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3840 , to selected 5305
Add SanityTestFailures(int)

Revision 3840 - Directory Listing - [select for diffs]
Modified Tue Oct 10 12:10:10 2006 UTC (18 years, 5 months ago) by dan
Diff to previous 3837 , to selected 5305
Add new table: sanity_test_failures

Revision 3837 - Directory Listing - [select for diffs]
Modified Sat Oct 7 19:23:46 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3835 , to selected 5305
Populate element_pathname

Revision 3835 - Directory Listing - [select for diffs]
Modified Thu Oct 5 23:46:26 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3830 , to selected 5305
listen_for takes better names.
add a new index to vuxml_names.  It was in beta, but not prod, and prod runs
slower, or so it seems.

Revision 3830 - Directory Listing - [select for diffs]
Modified Wed Oct 4 11:54:35 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3772 , to selected 5305
Add MigrateStagingAreaToWatchList()

Revision 3772 - Directory Listing - [select for diffs]
Modified Mon Sep 11 02:27:26 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3750 , to selected 5305
Add a few things, some not yet used.
- listen_for: events that listening daemons should listen for
- top_answers, top_questions: starting point for polling users on things
- event_types: type of events that can be raised in this database
- events: events that have been raised but not yet processed
- cache_clearing_ports: ports that should be removed from cache, populated
                        by triggers.

Revision 3750 - Directory Listing - [select for diffs]
Modified Tue Aug 8 19:09:35 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3749 , to selected 5305
Give us a PDF version of the tables.

Revision 3749 - Directory Listing - [select for diffs]
Modified Tue Aug 8 18:51:01 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3748 , to selected 5305
fix some SQL nits

Revision 3748 - Directory Listing - [select for diffs]
Modified Tue Aug 8 18:49:32 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3747 , to selected 5305
Remove this one too.

Revision 3747 - Directory Listing - [select for diffs]
Modified Tue Aug 8 18:48:26 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3734 , to selected 5305
Move these away.  No longer used.

Revision 3734 - Directory Listing - [select for diffs]
Modified Wed Aug 2 17:33:33 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3724 , to selected 5305
Add CategoryStatsUpdate()

Revision 3724 - Directory Listing - [select for diffs]
Modified Wed Aug 2 14:13:59 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3723 , to selected 5305
Add category stats

Revision 3723 - Directory Listing - [select for diffs]
Modified Wed Aug 2 14:13:45 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3714 , to selected 5305
Correct a trigger name

Revision 3714 - Directory Listing - [select for diffs]
Modified Mon Jul 31 15:14:24 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3713 , to selected 5305
Add "on watch list" to freshports_commit()

Revision 3713 - Directory Listing - [select for diffs]
Modified Mon Jul 31 14:20:13 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3707 , to selected 5305
Add LatestCommitsFiltered
and LatestCommitsLargeFiltered.
Remove security_notice.

Revision 3707 - Directory Listing - [select for diffs]
Modified Mon Jul 31 02:24:26 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3706 , to selected 5305
add creation of element_pathname

Revision 3706 - Directory Listing - [select for diffs]
Modified Mon Jul 31 02:15:35 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3705 , to selected 5305
Add triggers for maintaining element_pathname

Revision 3705 - Directory Listing - [select for diffs]
Modified Mon Jul 31 01:39:31 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3704 , to selected 5305
better define the changes

Revision 3704 - Directory Listing - [select for diffs]
Modified Mon Jul 31 01:37:34 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3703 , to selected 5305
A late check of data.

new tables for cross platform and cross arch testing of ports:
releases    - what releases have we had?
archs       - what archs do we have?
port_status - status of a given port with respect to release and arch

add fields to ports table already in production:
- is_interactive
- only_for_archs
- not_for_archs

For person watch lists on watch_list, create a token
using generate_watch_list_token()

For filtering, add new table element_pathname

EOF.

Revision 3703 - Directory Listing - [select for diffs]
Modified Mon Jul 31 01:18:40 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3695 , to selected 5305
For SPOOLING

Revision 3695 - Directory Listing - [select for diffs]
Modified Thu Jul 27 19:12:12 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3694 , to selected 5305
Remove the security notice table

Revision 3694 - Directory Listing - [select for diffs]
Modified Thu Jul 27 19:11:51 2006 UTC (18 years, 8 months ago) by dan
Diff to previous 3622 , to selected 5305
Remove references to the security_notice table

Revision 3622 - Directory Listing - [select for diffs]
Modified Tue Jul 4 19:49:05 2006 UTC (18 years, 9 months ago) by dan
Diff to previous 3550 , to selected 5305
Add two new functions:

- Element_ID(category, port)
- OnWatchList(UserID, ElementID)

Revision 3550 - Directory Listing - [select for diffs]
Modified Tue Jun 6 22:48:39 2006 UTC (18 years, 10 months ago) by dan
Diff to previous 3496 , to selected 5305
Add LatestCommitDatePorts(), LatestCommitDate()

Revision 3496 - Directory Listing - [select for diffs]
Modified Tue Feb 21 20:59:30 2006 UTC (19 years, 1 month ago) by dan
Diff to previous 3487 , to selected 5305
fix Port_ID() and put a condition on the ports.category_id field.
This avoids duplicates when a port is in more than one category.
For example, mail/squirrelmail which is also listed in www.

Revision 3487 - Directory Listing - [select for diffs]
Modified Mon Feb 13 15:16:45 2006 UTC (19 years, 1 month ago) by dan
Diff to previous 3486 , to selected 5305
Add old_new_ports_record, used by WatchListDeletedPorts()

Revision 3486 - Directory Listing - [select for diffs]
Modified Mon Feb 13 15:16:16 2006 UTC (19 years, 1 month ago) by dan
Diff to previous 3466 , to selected 5305
Add WatchListDeletedPorts(bigint) for catering to ports on your watch list which
have been deleted from the ports tree
Add Port_ID() which gives you the port id for a category/port combination.  This
function handles virtual cagtegories.

Revision 3466 - Directory Listing - [select for diffs]
Modified Sun Jan 8 02:49:57 2006 UTC (19 years, 2 months ago) by dan
Diff to previous 3464 , to selected 5305
In 8.?, you cannot use DELETE in IMMUTABLE or STABLE functions.  Such
functions must be VOLATILE.

Revision 3464 - Directory Listing - [select for diffs]
Modified Sat Jan 7 22:25:32 2006 UTC (19 years, 2 months ago) by dan
Diff to previous 3460 , to selected 5305
Found this problem when using PG8.

l_SlavePortCategory and l_SlavePortName must be declared.

Revision 3460 - Directory Listing - [select for diffs]
Modified Fri Dec 30 13:42:02 2005 UTC (19 years, 3 months ago) by dan
Diff to previous 3459 , to selected 5305
Remove AnyActiveFiles().  Committed for historical purposes only.

Revision 3459 - Directory Listing - [select for diffs]
Modified Fri Dec 30 13:41:33 2005 UTC (19 years, 3 months ago) by dan
Diff to previous 3422 , to selected 5305
Add AllFilesDeleted() and AnyActiveFiles().

Revision 3422 - Directory Listing - [select for diffs]
Modified Tue Nov 1 22:48:54 2005 UTC (19 years, 5 months ago) by dan
Diff to previous 3421 , to selected 5305
Add personal watch lists and is_interactive

Revision 3421 - Directory Listing - [select for diffs]
Modified Tue Oct 11 00:27:26 2005 UTC (19 years, 5 months ago) by dan
Diff to previous 3396 , to selected 5305
Add three new columns to the ports table:
	is_interactive
	only_for_archs
	not_for_archs

Revision 3396 - Directory Listing - [select for diffs]
Modified Wed Aug 3 12:17:56 2005 UTC (19 years, 8 months ago) by dan
Diff to previous 3376 , to selected 5305
whitespace only

Revision 3376 - Directory Listing - [select for diffs]
Modified Fri Jul 15 03:19:57 2005 UTC (19 years, 8 months ago) by dan
Diff to previous 3370 , to selected 5305
Add GMT_Format()

Revision 3370 - Directory Listing - [select for diffs]
Modified Thu Jul 14 02:28:16 2005 UTC (19 years, 8 months ago) by dan
Diff to previous 3354 , to selected 5305
For expired ports, and those about to expire, ignore deleted ports.

Revision 3354 - Directory Listing - [select for diffs]
Modified Sat Jun 25 18:44:10 2005 UTC (19 years, 9 months ago) by dan
Diff to previous 3353 , to selected 5305
Add expiration_date

Revision 3353 - Directory Listing - [select for diffs]
Modified Sat Jun 25 18:40:45 2005 UTC (19 years, 9 months ago) by dan
Diff to previous 3349 , to selected 5305
Dropping types

Revision 3349 - Directory Listing - [select for diffs]
Modified Sat Jun 25 18:00:24 2005 UTC (19 years, 9 months ago) by dan
Diff to previous 3348 , to selected 5305
Move the index further down.

Revision 3348 - Directory Listing - [select for diffs]
Modified Sat Jun 25 17:58:36 2005 UTC (19 years, 9 months ago) by dan
Diff to previous 3347 , to selected 5305
Add stats functions for ports.expiration_date

Revision 3347 - Directory Listing - [select for diffs]
Modified Sat Jun 25 17:57:58 2005 UTC (19 years, 9 months ago) by dan
Diff to previous 3321 , to selected 5305
Add expiration date

Revision 3321 - Directory Listing - [select for diffs]
Modified Sun Mar 20 22:43:41 2005 UTC (20 years ago) by dan
Diff to previous 3317 , to selected 5305
For the latest commits, we remove the outer LIMIT.
We already have an inner limit, so that is our boundary.

Revision 3317 - Directory Listing - [select for diffs]
Modified Fri Mar 18 03:38:10 2005 UTC (20 years ago) by dan
Diff to previous 3313 , to selected 5305
add Stats_PortCountVulnerable(

Revision 3313 - Directory Listing - [select for diffs]
Modified Sun Mar 13 14:14:08 2005 UTC (20 years ago) by dan
Diff to previous 3292 , to selected 5305
mention scripts/Verify/set-restricted-no-cdrom.pl

Revision 3292 - Directory Listing - [select for diffs]
Modified Thu Feb 17 04:47:10 2005 UTC (20 years, 1 month ago) by dan
Diff to previous 3291 , to selected 5305
Add restricted and no_cdrom fields to the ports table

Revision 3291 - Directory Listing - [select for diffs]
Modified Thu Feb 17 04:46:48 2005 UTC (20 years, 1 month ago) by dan
Diff to previous 3280 , to selected 5305
Add stats for restricted and no_cdrom ports

Revision 3280 - Directory Listing - [select for diffs]
Modified Thu Feb 17 01:54:37 2005 UTC (20 years, 1 month ago) by dan
Diff to previous 3273 , to selected 5305
Add restricted and no_cdrom fields to LatestCommits* functions

Revision 3273 - Directory Listing - [select for diffs]
Modified Thu Feb 17 00:04:57 2005 UTC (20 years, 1 month ago) by dan
Diff to previous 3263 , to selected 5305
Add restricted and no_cdrom

Revision 3263 - Directory Listing - [select for diffs]
Modified Tue Feb 1 13:58:57 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3262 , to selected 5305
Add vulnerable_current and vulnerable_past

Revision 3262 - Directory Listing - [select for diffs]
Modified Tue Feb 1 13:58:01 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3259 , to selected 5305
Start documenting the upgrade process to the latest vuxml stuff

Revision 3259 - Directory Listing - [select for diffs]
Modified Fri Jan 28 19:55:45 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3258 , to selected 5305
remove ClearSlavePort (not used)

Revision 3258 - Directory Listing - [select for diffs]
Modified Fri Jan 28 14:27:20 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3257 , to selected 5305
Comment out some RAISE NOTICE commands

Revision 3257 - Directory Listing - [select for diffs]
Modified Thu Jan 27 19:19:09 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3244 , to selected 5305
Include instructions for setting up ports_vulnerable

Revision 3244 - Directory Listing - [select for diffs]
Modified Wed Jan 26 14:39:31 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3243 , to selected 5305
- When moving to using UTC internally (revision 1.79), we changed
  page_load_summary.date to a timestamp when it should be a date.
  We now change this back.
- Remove commit_log_port_vxuml, added in error.  Use the
  commit_log_ports_vxuml table instead.
- Add some indexes on the ports table to speed some queries.
- Add the ports_vulnerable table.

Revision 3243 - Directory Listing - [select for diffs]
Modified Wed Jan 26 14:21:09 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3203 , to selected 5305
Add PortsVulnerabilityCountAdjust() which sets the correct values in the
ports_vulnerable table.

Revision 3203 - Directory Listing - [select for diffs]
Modified Mon Jan 17 00:23:29 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3202 , to selected 5305
Remove Notice commands not needed.

Revision 3202 - Directory Listing - [select for diffs]
Modified Mon Jan 17 00:08:44 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3194 , to selected 5305
divide LatestCommits into LatestCommitsSmall and LatestCommitsLarge which
deal with 10 and 100 commits respectively.  This dramatically improves
the speed.

Revision 3194 - Directory Listing - [select for diffs]
Modified Thu Jan 13 22:13:56 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3188 , to selected 5305
Add WatchListCountDefault

Revision 3188 - Directory Listing - [select for diffs]
Modified Wed Jan 12 13:30:14 2005 UTC (20 years, 2 months ago) by dan
Diff to previous 3185 , to selected 5305
Comment out a notice

Revision 3185 - Directory Listing - [select for diffs]
Modified Thu Jan 6 04:29:20 2005 UTC (20 years, 3 months ago) by dan
Diff to previous 3138 , to selected 5305
Replace " in URLs with '

Revision 3138 - Directory Listing - [select for diffs]
Modified Tue Dec 14 01:10:47 2004 UTC (20 years, 3 months ago) by dan
Diff to previous 3137 , to selected 5305
Convert to using timestamp without timezone in anticipation of going to UTC
internally.
Add index on commit_log_ports_port_id on commit_log_ports (port_id);

Revision 3137 - Directory Listing - [select for diffs]
Modified Tue Dec 14 01:09:55 2004 UTC (20 years, 3 months ago) by dan
Diff to previous 3136 , to selected 5305
whitespace only

Revision 3136 - Directory Listing - [select for diffs]
Modified Tue Dec 14 01:09:18 2004 UTC (20 years, 3 months ago) by dan
Diff to previous 3080 , to selected 5305
Add vuxml_ranges_vid()
Add TITLE to WatchersAlsoWatched()

Revision 3080 - Directory Listing - [select for diffs]
Modified Tue Nov 30 12:37:10 2004 UTC (20 years, 4 months ago) by dan
Diff to previous 3079 , to selected 5305
Add also_watched_record

Revision 3079 - Directory Listing - [select for diffs]
Modified Tue Nov 30 12:36:52 2004 UTC (20 years, 4 months ago) by dan
Diff to previous 3078 , to selected 5305
Add some vuxml functions expected to be used when I start optimizing
the vuxml process.
Add currenttimestamputc() that may be useful when moving to UTC
Add WatchersAlsoWatched() to display "People watching this port, also watch".

Revision 3078 - Directory Listing - [select for diffs]
Modified Tue Nov 30 12:35:16 2004 UTC (20 years, 4 months ago) by dan
Diff to previous 3054 , to selected 5305
A  bit more detail on the upgrade, completed already.

Revision 3054 - Directory Listing - [select for diffs]
Modified Wed Nov 17 13:25:12 2004 UTC (20 years, 4 months ago) by (unknown author)
Diff to previous 3053 , to selected 5305
This commit was manufactured by cvs2svn to create tag 'FreshPorts-VuXML'.
Revision 3053 - Directory Listing - [select for diffs]
Modified Wed Nov 17 13:25:11 2004 UTC (20 years, 4 months ago) by dan
Diff to previous 3027 , to selected 5305
Use package_name, not latest_link when looking up package names

Revision 3027 - Directory Listing - [select for diffs]
Modified Thu Oct 21 01:56:00 2004 UTC (20 years, 5 months ago) by dan
Diff to previous 3026 , to selected 5305
Add the vuxml tables

Revision 3026 - Directory Listing - [select for diffs]
Modified Thu Oct 21 01:55:55 2004 UTC (20 years, 5 months ago) by dan
Diff to previous 2969 , to selected 5305
Correctly spell vuxml

Revision 2969 - Directory Listing - [select for diffs]
Modified Wed Sep 22 15:37:31 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2953 , to selected 5305
Start using epoch

Revision 2953 - Directory Listing - [select for diffs]
Modified Mon Sep 20 13:12:05 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2952 , to selected 5305
Change the column order to op1, version1, op2, version2.

Revision 2952 - Directory Listing - [select for diffs]
Modified Mon Sep 20 12:14:50 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2951 , to selected 5305
Add vuxml_record

Revision 2951 - Directory Listing - [select for diffs]
Modified Mon Sep 20 12:14:39 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2950 , to selected 5305
Add FUNCTION vuxml_ranges()

Revision 2950 - Directory Listing - [select for diffs]
Modified Mon Sep 20 12:13:12 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2949 , to selected 5305
vuxml_ranges.vuxml_name_id becomes vuxml_affected_id.

Revision 2949 - Directory Listing - [select for diffs]
Modified Mon Sep 20 11:45:05 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2948 , to selected 5305
In vuxml_ranges, rename the fields so they do not contain range_ and _start|_finish.

Revision 2948 - Directory Listing - [select for diffs]
Modified Fri Sep 17 18:48:16 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2931 , to selected 5305
Add package_version(text, text, text) RETURNS text

This function strings together PortVersion, PortRevision, and PortEpoch
as they are for a package name.

Revision 2931 - Directory Listing - [select for diffs]
Modified Tue Sep 14 18:14:03 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2930 , to selected 5305
Give initial values to port_epoch

Revision 2930 - Directory Listing - [select for diffs]
Modified Tue Sep 14 14:29:25 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2929 , to selected 5305
add port_epoch to commit_log_ports
rename ports.pkgname to ports.package_name

Revision 2929 - Directory Listing - [select for diffs]
Modified Tue Sep 14 14:27:31 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2925 , to selected 5305
rename ports.pkgname to package_name

Revision 2925 - Directory Listing - [select for diffs]
Modified Mon Sep 13 13:01:16 2004 UTC (20 years, 6 months ago) by dan
Diff to previous 2907 , to selected 5305
-    is_slave_port              text                          ,
+    master_port                text                          ,
     latest_link                text                          ,
+    depends_lib                text                          ,
     no_latest_link             text                          ,
     no_package                 text                          ,
     pkgname                    text                          ,
+    portepoch

Rename is_slave_port to master_port to reflect what we are actually using in the
database.
Add depends_lib and portepoch.

Revision 2907 - Directory Listing - [select for diffs]
Modified Fri Aug 27 16:55:35 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2906 , to selected 5305
Move range_version_start nearer to the top of the table.
Now we can see the data like this:

range_version_start range_operator_start VERSION and VERSION range_operator_end range_version_end

Example:

1.04b <= VERSION and VERSION < 1.06

Revision 2906 - Directory Listing - [select for diffs]
Modified Fri Aug 27 14:52:07 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2905 , to selected 5305
Alter GetCategoryPortFromLatestLink() to remove RAISE NOTICE debugging
messages.  Also if more than one match found, return -1, not the count.
This makes the return value more useful.

Revision 2905 - Directory Listing - [select for diffs]
Modified Fri Aug 27 14:48:36 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2879 , to selected 5305
Add these fields to ports:
   no_latest_link
   no_package
   pkgname

Add vuxml tables

Revision 2879 - Directory Listing - [select for diffs]
Modified Mon Aug 23 15:31:40 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2878 , to selected 5305
Add GetCategoryPortFromLatestLink(text)

Revision 2878 - Directory Listing - [select for diffs]
Modified Sat Aug 21 23:12:18 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2865 , to selected 5305
First attempt at VuXML tables

Revision 2865 - Directory Listing - [select for diffs]
Modified Wed Aug 11 14:48:07 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2855 , to selected 5305
add PortsUpdatingPortsXrefAdd

Revision 2855 - Directory Listing - [select for diffs]
Modified Mon Aug 2 01:14:38 2004 UTC (20 years, 8 months ago) by dan
Diff to previous 2820 , to selected 5305
Welcome to ports_updating and ports_updating_port_xref.
A way to display the contents of /usr/ports/UPDATING

Revision 2820 - Directory Listing - [select for diffs]
Modified Tue Jun 22 14:59:09 2004 UTC (20 years, 9 months ago) by dan
Diff to previous 2815 , to selected 5305
Add is_slave_port and latest_link to the ports table

Revision 2815 - Directory Listing - [select for diffs]
Modified Wed Jun 9 13:28:22 2004 UTC (20 years, 9 months ago) by dan
Diff to previous 2814 , to selected 5305
replace ClearSlavePort(int) with ClearSlavePort(text)

Revision 2814 - Directory Listing - [select for diffs]
Modified Wed Jun 9 13:16:49 2004 UTC (20 years, 9 months ago) by dan
Diff to previous 2813 , to selected 5305
add comments

Revision 2813 - Directory Listing - [select for diffs]
Modified Wed Jun 9 13:13:17 2004 UTC (20 years, 9 months ago) by dan
Diff to previous 2804 , to selected 5305
add SetSlavePort(text, text), GetPort(text, text), ClearSlavePort(int)

Revision 2804 - Directory Listing - [select for diffs]
Modified Wed Apr 7 15:04:37 2004 UTC (21 years ago) by dan
Diff to previous 2802 , to selected 5305
add security_notice_id to freshports_commit result set

Revision 2802 - Directory Listing - [select for diffs]
Modified Sat Apr 3 01:52:35 2004 UTC (21 years ago) by dan
Diff to previous 2801 , to selected 5305
Add forbidden, deprecated, ignore, and broken.

Revision 2801 - Directory Listing - [select for diffs]
Modified Sat Apr 3 01:42:47 2004 UTC (21 years ago) by dan
Diff to previous 2799 , to selected 5305
Add forbidden, deprecated, ignore, and broken.

Revision 2799 - Directory Listing - [select for diffs]
Modified Sat Apr 3 01:15:58 2004 UTC (21 years ago) by dan
Diff to previous 2793 , to selected 5305
Whitespace only

Revision 2793 - Directory Listing - [select for diffs]
Modified Thu Apr 1 18:25:35 2004 UTC (21 years ago) by dan
Diff to previous 2783 , to selected 5305
Alter freshports_commit(text) to take a page size and offset.
Add freshports_commit_count_elements(text) which returns the number of rows.

Revision 2783 - Directory Listing - [select for diffs]
Modified Mon Mar 22 19:32:14 2004 UTC (21 years ago) by dan
Diff to previous 2766 , to selected 5305
Add deprecated and ignore

Revision 2766 - Directory Listing - [select for diffs]
Modified Sun Feb 22 15:58:29 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2760 , to selected 5305
handle the new ports.deprecated field

Revision 2760 - Directory Listing - [select for diffs]
Modified Fri Feb 13 18:02:20 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2752 , to selected 5305
reverse last commit, done in error.

Revision 2752 - Directory Listing - [select for diffs]
Modified Fri Feb 13 17:15:31 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2749 , to selected 5305
rename status to security_notice_status_id

Revision 2749 - Directory Listing - [select for diffs]
Modified Fri Feb 13 16:43:08 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2747 , to selected 5305
security_notice[_audit].status becomes security_notice_status_id

Revision 2747 - Directory Listing - [select for diffs]
Modified Fri Feb 13 15:58:17 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2746 , to selected 5305
upgrade instructions for security_notice*

Revision 2746 - Directory Listing - [select for diffs]
Modified Fri Feb 13 15:43:49 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2745 , to selected 5305
Populate security_notice_status

Revision 2745 - Directory Listing - [select for diffs]
Modified Fri Feb 13 15:40:05 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2741 , to selected 5305
Create security_notice_status

Revision 2741 - Directory Listing - [select for diffs]
Modified Fri Feb 13 15:10:13 2004 UTC (21 years, 1 month ago) by dan
Diff to previous 2724 , to selected 5305
Alter SecurityNoticeCreate to take a status field

Revision 2724 - Directory Listing - [select for diffs]
Modified Mon Feb 2 22:35:12 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2723 , to selected 5305
Remove shadow introduced via CONTROL-W

Revision 2723 - Directory Listing - [select for diffs]
Modified Sat Jan 31 13:40:13 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2722 , to selected 5305
Reflect changes made to .PDM file:
- announcements table dates do not have time zone
- page_load_summary now has a total and users field

Revision 2722 - Directory Listing - [select for diffs]
Modified Sat Jan 31 13:35:39 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2721 , to selected 5305
Provide instructions for latest changes to page_load_summary

Revision 2721 - Directory Listing - [select for diffs]
Modified Sat Jan 31 13:35:21 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2716 , to selected 5305
Rename fields in page_load_summary to make more sense

Revision 2716 - Directory Listing - [select for diffs]
Modified Thu Jan 29 23:58:25 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2715 , to selected 5305
Better explanations about commit_log_ports_elements

Revision 2715 - Directory Listing - [select for diffs]
Modified Thu Jan 29 23:58:00 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2711 , to selected 5305
Find a better way to do
FUNCTION freshports_commit(text) RETURNS SETOF freshports_commit_record
This was taking two minutes for commits such as
200401291613.i0TGD7Wu024303@repoman.freebsd.org

Revision 2711 - Directory Listing - [select for diffs]
Modified Thu Jan 29 15:53:36 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2699 , to selected 5305
Add function AnnouncementsGet

Revision 2699 - Directory Listing - [select for diffs]
Modified Mon Jan 12 21:03:21 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2698 , to selected 5305
For the page_load_summary table, reflect changes in column names
and change the way we count things.

Revision 2698 - Directory Listing - [select for diffs]
Modified Mon Jan 12 21:02:40 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2690 , to selected 5305
In the page_load_summary table:
   remove defaults for user and non_users
   rename non_users to total
   add rendering_time_min and rendering_time_max

In the page_load_detail table:
   split timestamp into two fields: date and time.
   remove NOT NULL on user_id column

Revision 2690 - Directory Listing - [select for diffs]
Modified Fri Jan 9 19:22:57 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2689 , to selected 5305
Add instructions for converting page_load_detail table

Revision 2689 - Directory Listing - [select for diffs]
Modified Fri Jan 9 19:22:33 2004 UTC (21 years, 2 months ago) by dan
Diff to previous 2681 , to selected 5305
in page_load_summary:
  - rename name to page_name
  - add rendering_time_min and rendering_time_max

in page_load_detail
  - break timestamp into date and time fields
  - user_id can be null

Revision 2681 - Directory Listing - [select for diffs]
Modified Fri Jan 2 18:16:47 2004 UTC (21 years, 3 months ago) by dan
Diff to previous 2656 , to selected 5305
Remove NOTIFY commands

Revision 2656 - Directory Listing - [select for diffs]
Modified Wed Dec 31 01:49:52 2003 UTC (21 years, 3 months ago) by dan
Diff to previous 2654 , to selected 5305
Add PortsMovedAdd

Revision 2654 - Directory Listing - [select for diffs]
Modified Tue Dec 30 17:33:18 2003 UTC (21 years, 3 months ago) by dan
Diff to previous 2653 , to selected 5305
ports_moved : make from_port_id not null.  Add Date, Reason

Revision 2653 - Directory Listing - [select for diffs]
Modified Tue Dec 30 14:08:12 2003 UTC (21 years, 3 months ago) by dan
Diff to previous 2652 , to selected 5305
Allow nulls on ports_moved.{from_port_id|to_port_id}
I suspect from_port_id cannot be NULL, but we'll adjust that later if need be.

Revision 2652 - Directory Listing - [select for diffs]
Modified Tue Dec 30 13:53:37 2003 UTC (21 years, 3 months ago) by dan
Diff to previous 2613 , to selected 5305
Improve the index on page_load_detail
Add ports_moved table to reflect /usr/ports/MOVED

Revision 2613 - Directory Listing - [select for diffs]
Modified Mon Dec 1 18:32:33 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2603 , to selected 5305
When a new user is created, a watch list is automatically created too.
When this is done, ensure the in_service flag is set to true.  Otherewise,
they can't start adding things to their watch list.

See classes/watch_list_element.php::AddToDefault($UserID, $ElementID).

Revision 2603 - Directory Listing - [select for diffs]
Modified Thu Nov 27 20:15:46 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2583 , to selected 5305
add element_id to the freshports_commit_record data type.

Revision 2583 - Directory Listing - [select for diffs]
Modified Thu Nov 20 14:21:00 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2582 , to selected 5305
Remove commit_log_port_elements which has been replaced by commit_log_ports_elements
Add index commit_log_ports_elements_clid on
           commit_log_ports_elements (commit_log_id)

Revision 2582 - Directory Listing - [select for diffs]
Modified Thu Nov 20 14:19:45 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2577 , to selected 5305
Limit the join on commit_log_ports_elements to those
commits > latest_commits_ports_anchor()

Revision 2577 - Directory Listing - [select for diffs]
Modified Tue Nov 18 20:56:31 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2571 , to selected 5305
include upgrade instructions

Revision 2571 - Directory Listing - [select for diffs]
Modified Fri Nov 14 04:47:07 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2570 , to selected 5305
remember to create commit_log_ports_elements

Revision 2570 - Directory Listing - [select for diffs]
Modified Fri Nov 14 04:46:11 2003 UTC (21 years, 4 months ago) by dan
Diff to previous 2555 , to selected 5305
Add tables for statistics

Revision 2555 - Directory Listing - [select for diffs]
Modified Wed Nov 5 03:50:02 2003 UTC (21 years, 5 months ago) by dan
Diff to previous 2553 , to selected 5305
add create table for commit_log_ports_elements

Revision 2553 - Directory Listing - [select for diffs]
Modified Wed Nov 5 02:04:02 2003 UTC (21 years, 5 months ago) by dan
Diff to previous 2540 , to selected 5305
Add some missing drop triggers statements.

Revision 2540 - Directory Listing - [select for diffs]
Modified Mon Oct 6 20:55:45 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2538 , to selected 5305
Include instructions for populating commit_log_ports_elements

Revision 2538 - Directory Listing - [select for diffs]
Modified Mon Oct 6 19:09:40 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2536 , to selected 5305
Ignore the backup files

Revision 2536 - Directory Listing - [select for diffs]
Modified Mon Oct 6 17:32:13 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2535 , to selected 5305
Replace commit_log_port_extras with commit_log_ports_elements.  The function
of the table has changed, but the fields are the same.

Revision 2535 - Directory Listing - [select for diffs]
Modified Mon Oct 6 17:29:48 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2532 , to selected 5305
*** empty log message ***

Revision 2532 - Directory Listing - [select for diffs]
Modified Mon Oct 6 17:10:50 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2529 , to selected 5305
Start using new commit_log_ports_elements table in order to simply the
process of displaying both ports and non-ports on a single page.

Revision 2529 - Directory Listing - [select for diffs]
Modified Sat Oct 4 21:32:11 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2528 , to selected 5305
- remove housekeeping table, no longer used
- alter security_notice
- remove index on security_notice (commit_log_id)
  and leave it to the primary key instead.
- move indexes on ports_categories (port_id) and ports_categories (category_id)
- add commit_log_port_extras

Revision 2528 - Directory Listing - [select for diffs]
Modified Sat Oct 4 21:13:34 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2521 , to selected 5305
- Adjust FUNCTION LastestCommits(int, int) RETURNS SETOF commit_record to
  use commit_log_ports_extra.
- At the same time, we can remove an extraneous JOIN.
- Convert those LEFT OUTER JOINs no longer needed to JOINs.

Revision 2521 - Directory Listing - [select for diffs]
Modified Thu Oct 2 12:17:05 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2510 , to selected 5305
Add login counts code

Revision 2510 - Directory Listing - [select for diffs]
Modified Sat Sep 27 18:44:46 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2508 , to selected 5305
Add freshports_commit_record and commit_record

Revision 2508 - Directory Listing - [select for diffs]
Modified Sat Sep 27 18:42:41 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2507 , to selected 5305
add FUNCTION freshports_commit(text) RETURNS SETOF freshports_commit_record

Revision 2507 - Directory Listing - [select for diffs]
Modified Sat Sep 27 18:42:23 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2478 , to selected 5305
Add freshports_commit_record, for use by commit.php

Revision 2478 - Directory Listing - [select for diffs]
Modified Wed Sep 24 18:13:31 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2477 , to selected 5305
Add recent changes

Revision 2477 - Directory Listing - [select for diffs]
Modified Wed Sep 24 18:12:04 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2476 , to selected 5305
add IsPort IsCategory elementGet

Revision 2476 - Directory Listing - [select for diffs]
Modified Wed Sep 24 18:11:36 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2466 , to selected 5305
Add element_type

Revision 2466 - Directory Listing - [select for diffs]
Modified Wed Sep 24 13:53:15 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2459 , to selected 5305
Instructions for keeping the database up to date with the code

Revision 2459 - Directory Listing - [select for diffs]
Modified Wed Sep 24 13:04:57 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2458 , to selected 5305
Alter FUNCTION LastestCommits(int, int) to cater for non-port port commits.
Bring back the full pathname.

Revision 2458 - Directory Listing - [select for diffs]
Modified Wed Sep 24 13:00:57 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2457 , to selected 5305
Add element_pathname, which will be used for non-port ports tree commits

Revision 2457 - Directory Listing - [select for diffs]
Modified Tue Sep 23 17:58:57 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2456 , to selected 5305
Add FUNCTION commit_log_ports_insert(int) RETURNS boolean
which adds a commit to the latest_commits_ports table

Revision 2456 - Directory Listing - [select for diffs]
Modified Tue Sep 23 16:40:03 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2451 , to selected 5305
Use TRIGGER instead of "trigger"

Revision 2451 - Directory Listing - [select for diffs]
Modified Tue Sep 23 13:30:19 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2450 , to selected 5305
Add FUNCTION LastestCommits(int, int) RETURNS SETOF commit_record

Revision 2450 - Directory Listing - [select for diffs]
Modified Tue Sep 23 13:29:51 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2443 , to selected 5305
Add a file which contains our data type definitions

Revision 2443 - Directory Listing - [select for diffs]
Modified Sun Sep 21 12:56:13 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2422 , to selected 5305
Provide a better method for ensuring duplicates do not arrive in
daily_refreshes.

Revision 2422 - Directory Listing - [select for diffs]
Modified Wed Sep 10 18:40:26 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2414 , to selected 5305
Change SystemTimeAdjust to be an SQL function.

Revision 2414 - Directory Listing - [select for diffs]
Modified Tue Sep 9 12:38:52 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2409 , to selected 5305
Triggers should be dropped before they are created.

Revision 2409 - Directory Listing - [select for diffs]
Modified Tue Sep 9 10:16:34 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2396 , to selected 5305
Add the latest_commits and latest_commits_ports back in.  We need them.

Revision 2396 - Directory Listing - [select for diffs]
Modified Sat Sep 6 12:19:27 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2395 , to selected 5305
Replace OPAQUE with TRIGGER on functions used as triggers.
remember to drop triggers before replacing them:
  DROP TRIGGER security_notice_audit ON security_notice;
  DROP TRIGGER ports_ports_categories ON ports;

Revision 2395 - Directory Listing - [select for diffs]
Modified Sat Sep 6 12:08:53 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2394 , to selected 5305
for ElementTagSet, be sure to check for an existing revision before
adding it.  For some reason this was removed.

Revision 2394 - Directory Listing - [select for diffs]
Modified Fri Sep 5 20:26:39 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2393 , to selected 5305
remove: WatchListUserID
        RecordLastestPortCommits
        RecordLastestCommits

Revision 2393 - Directory Listing - [select for diffs]
Modified Fri Sep 5 20:26:32 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2392 , to selected 5305
remove: commit_log_ports_insert
        commit_log_insert
        commit_log_update

Revision 2392 - Directory Listing - [select for diffs]
Modified Fri Sep 5 20:24:43 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2382 , to selected 5305
WatchListStagingClear should take an int8

Revision 2382 - Directory Listing - [select for diffs]
Modified Wed Sep 3 23:19:24 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2380 , to selected 5305
make element_pathname Pathname_ID stable

Revision 2380 - Directory Listing - [select for diffs]
Modified Wed Sep 3 23:07:00 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2377 , to selected 5305
ignore ? FreshPorts2.PDB
cvs server: Diffing .
Index: FreshPorts2.pdm
===================================================================
RCS file: /home/repositories/freshports-1/database-schema/FreshPorts2.pdm,v
retrieving revision 1.71
diff -r1.71 FreshPorts2.pdm
51c51
< -- $Id: FreshPorts2.pdm,v 1.71 2003/05/09 19:39:24 dan Exp $\
---
> -- $Id: FreshPorts2.pdm,v 1.70 2003/05/02 18:37:59 dan Exp $\
83c83
< 1052505034
---
> 1052509087
[dan@polo:/usr/websites/working-copy.freshports.org/database-schema] $ cd ..
[dan@polo:/usr/websites/working-copy.freshports.org] $ cd database-schema
[dan@polo:/usr/websites/working-copy.freshports.org/database-schema] $ cvs .ignore
ignore FreshPorts2.PDB

Revision 2377 - Directory Listing - [select for diffs]
Modified Tue Sep 2 20:47:16 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2376 , to selected 5305
This belongs in develop.freshports.org/www/directories

Revision 2376 - Directory Listing - [select for diffs]
Modified Tue Sep 2 20:47:15 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2365 , to selected 5305
Example FreshPorts database

Revision 2365 - Directory Listing - [select for diffs]
Modified Tue Aug 19 13:32:57 2003 UTC (21 years, 7 months ago) by dan
Diff to previous 2303 , to selected 5305
Remove functions associated with element_pathnames table.
This table was experimental and attempted to deal with path parsing
issues which would arise with watch lists on FreshSource. We might be
able to use these functions at a later date if we allow people to
watch a directory.

Revision 2303 - Directory Listing - [select for diffs]
Modified Wed May 21 00:43:08 2003 UTC (21 years, 10 months ago) by dan
Diff to previous 2283 , to selected 5305
Add watch_list_count

Revision 2283 - Directory Listing - [select for diffs]
Modified Fri May 16 01:10:54 2003 UTC (21 years, 10 months ago) by dan
Diff to previous 2279 , to selected 5305
Add copyright notice

Revision 2279 - Directory Listing - [select for diffs]
Modified Mon May 12 02:23:28 2003 UTC (21 years, 10 months ago) by dan
Diff to previous 2266 , to selected 5305
comment out a message

Revision 2266 - Directory Listing - [select for diffs]
Modified Fri May 9 19:39:24 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2261 , to selected 5305
Add the announcements table

Revision 2261 - Directory Listing - [select for diffs]
Modified Wed May 7 10:44:10 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2256 , to selected 5305
Update GetPortID to treat virtual and physical categories differently.

Revision 2256 - Directory Listing - [select for diffs]
Modified Fri May 2 18:38:01 2003 UTC (21 years, 11 months ago) by (unknown author)
Diff to previous 2255 , to selected 5305
This commit was manufactured by cvs2svn to create tag
'FreshPorts_2003_05_04'.
Revision 2255 - Directory Listing - [select for diffs]
Modified Fri May 2 18:38:00 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2242 , to selected 5305
Add the security notice report to the report table

Revision 2242 - Directory Listing - [select for diffs]
Modified Tue Apr 29 16:25:52 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2241 , to selected 5305
move element_pathname to after a function it calls

Revision 2241 - Directory Listing - [select for diffs]
Modified Tue Apr 29 16:03:12 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2240 , to selected 5305
comment out some debugging

Revision 2240 - Directory Listing - [select for diffs]
Modified Tue Apr 29 15:59:26 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2236 , to selected 5305
Add function, triggers, etc, which were ommitted

Revision 2236 - Directory Listing - [select for diffs]
Modified Tue Apr 29 15:13:52 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2233 , to selected 5305
In Stats_PortCountNewInterval, we shouldn't use SystemTimeAdjust

Revision 2233 - Directory Listing - [select for diffs]
Modified Tue Apr 29 12:51:55 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2207 , to selected 5305
create element_pathname with an optional boolean

Revision 2207 - Directory Listing - [select for diffs]
Modified Mon Apr 28 03:39:43 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2206 , to selected 5305
add users.page_size

Revision 2206 - Directory Listing - [select for diffs]
Modified Mon Apr 28 03:37:47 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2187 , to selected 5305
Add user.page_size

Revision 2187 - Directory Listing - [select for diffs]
Modified Sat Apr 26 14:36:41 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2183 , to selected 5305
Add security_notice_audit triggers

Revision 2183 - Directory Listing - [select for diffs]
Modified Sat Apr 26 12:50:15 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2174 , to selected 5305
Use int4 instead of int8 in some places.

Revision 2174 - Directory Listing - [select for diffs]
Modified Wed Apr 23 22:29:51 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2173 , to selected 5305
Let's do nice SQL

Revision 2173 - Directory Listing - [select for diffs]
Modified Wed Apr 23 22:14:56 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2172 , to selected 5305
remove duplicate trigger and function
add missing commit_log_update

Revision 2172 - Directory Listing - [select for diffs]
Modified Wed Apr 23 22:14:08 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2164 , to selected 5305
Add missing element_pathname which takes a boolean for leading /

Revision 2164 - Directory Listing - [select for diffs]
Modified Wed Apr 23 17:21:00 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2161 , to selected 5305
Add latest_commits table

Revision 2161 - Directory Listing - [select for diffs]
Modified Wed Apr 23 16:29:01 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2160 , to selected 5305
start using triggers instead of rules on latest_commits_ports and latest_commits

Revision 2160 - Directory Listing - [select for diffs]
Modified Wed Apr 23 16:28:31 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2150 , to selected 5305
remove anchor_clid and replace it with latest_commits_anchor and latest_commits_ports_anchor

Revision 2150 - Directory Listing - [select for diffs]
Modified Wed Apr 16 02:43:07 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2149 , to selected 5305
Hmmm, when inserting, the check for old != new will fail, because there
is no old.

Revision 2149 - Directory Listing - [select for diffs]
Modified Wed Apr 16 02:02:48 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2148 , to selected 5305
remove duplicate GetPortID

Revision 2148 - Directory Listing - [select for diffs]
Modified Wed Apr 16 00:35:43 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2147 , to selected 5305
Add new trigger ports_categories_set

Revision 2147 - Directory Listing - [select for diffs]
Modified Wed Apr 16 00:35:28 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2146 , to selected 5305
WatchListStagingClear now takes and returns int8
and also renamed WatchListID to UserID to reflect new strategy

WatchListStagingLogClearing now takes int8

ports_categories_set is moved to ri.txt as it becomes a trigger

Revision 2146 - Directory Listing - [select for diffs]
Modified Mon Apr 14 00:41:19 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2135 , to selected 5305
Add optional leading slash to Element_Pathname

Revision 2135 - Directory Listing - [select for diffs]
Modified Thu Apr 10 16:32:09 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2125 , to selected 5305
Add the rules for commit_log_ports which keep it populated with new commits.
We still have to write the rules to clear out this table from time to time.

Revision 2125 - Directory Listing - [select for diffs]
Modified Mon Apr 7 17:02:17 2003 UTC (22 years ago) by dan
Diff to previous 2097 , to selected 5305
Avoid a problem which occurs on the day after DST changes:
<               select (current_date - interval ''1 day'')::date
---
>               select (current_date - 1)::date

While here: whitespace adjustment

Revision 2097 - Directory Listing - [select for diffs]
Modified Sat Mar 8 18:00:04 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2096 , to selected 5305
rename commits_latest_ports to latest_commits_ports

Revision 2096 - Directory Listing - [select for diffs]
Modified Sat Mar 8 17:38:46 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2095 , to selected 5305
Add security_notice_audit

Revision 2095 - Directory Listing - [select for diffs]
Modified Sat Mar 8 17:33:52 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2091 , to selected 5305
add trigger on security_notice for security_notice_audit

Revision 2091 - Directory Listing - [select for diffs]
Modified Sat Mar 8 13:32:08 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2088 , to selected 5305
better logging

Revision 2088 - Directory Listing - [select for diffs]
Modified Sat Mar 8 13:05:26 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2086 , to selected 5305
add new stored procedure for security notices.

Revision 2086 - Directory Listing - [select for diffs]
Modified Fri Mar 7 20:31:43 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2085 , to selected 5305
Add rules for commit_log_ports.  Perhaps these should be changed into triggers.

Revision 2085 - Directory Listing - [select for diffs]
Modified Fri Mar 7 20:13:22 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2083 , to selected 5305
drop the old commits_latest_ports, create the new smaller leaner version

Revision 2083 - Directory Listing - [select for diffs]
Modified Thu Mar 6 22:23:17 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2073 , to selected 5305
PR 251 - columns of user_tasks table should be user_id, task_id

Revision 2073 - Directory Listing - [select for diffs]
Modified Thu Mar 6 21:24:31 2003 UTC (22 years, 1 month ago) by (unknown author)
Diff to previous 2072 , to selected 5305
This commit was manufactured by cvs2svn to create tag 'RELEASE-beta-
2003_03_07'.
Revision 2072 - Directory Listing - [select for diffs]
Modified Thu Mar 6 21:24:30 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2069 , to selected 5305
whitespace only

Revision 2069 - Directory Listing - [select for diffs]
Modified Thu Mar 6 15:13:19 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2052 , to selected 5305
Add CategoryPortCount for category paging

Revision 2052 - Directory Listing - [select for diffs]
Modified Wed Mar 5 19:52:51 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2051 , to selected 5305
Add GetPortID

Revision 2051 - Directory Listing - [select for diffs]
Modified Wed Mar 5 19:46:39 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2050 , to selected 5305
Keep the Makefile status the same as it's parent.
Do a CREATE OR REPLACE on categories_insert_update
add function for user_email_change trigger

Revision 2050 - Directory Listing - [select for diffs]
Modified Wed Mar 5 19:19:06 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2046 , to selected 5305
use TRIGGER not OPAQUE
convert some stuff to upper case

Revision 2046 - Directory Listing - [select for diffs]
Modified Wed Mar 5 18:45:14 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2045 , to selected 5305
WatchListStagingLogDelete updated for multiple watch lists

Revision 2045 - Directory Listing - [select for diffs]
Modified Wed Mar 5 18:44:09 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2040 , to selected 5305
add trigger on categories for virtual categories

Revision 2040 - Directory Listing - [select for diffs]
Modified Wed Mar 5 13:13:40 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2034 , to selected 5305
virtual categories:

- Allow categories.element_id to be null
- create table clp (should be renamed)
- create table ports_categories

Revision 2034 - Directory Listing - [select for diffs]
Modified Tue Mar 4 22:51:13 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2033 , to selected 5305
convert some stuff to upper case, whitespace changes.

Revision 2033 - Directory Listing - [select for diffs]
Modified Tue Mar 4 22:28:47 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2030 , to selected 5305
virtual categories support

Revision 2030 - Directory Listing - [select for diffs]
Modified Tue Mar 4 22:10:56 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2017 , to selected 5305
Changes for virtual categories.

Revision 2017 - Directory Listing - [select for diffs]
Modified Tue Feb 25 19:40:13 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2007 , to selected 5305
rename ports_refresh_ignore to commit_log_ports_ignore

Revision 2007 - Directory Listing - [select for diffs]
Modified Fri Feb 21 22:17:17 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 2005 , to selected 5305
rename ports_refresh_ignore (it was ports_refesh_ignore)

Revision 2005 - Directory Listing - [select for diffs]
Modified Fri Feb 21 21:24:35 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1996 , to selected 5305
Let's order by message_id, a business value, rather than commit_log_id,
which is something we set.

Revision 1996 - Directory Listing - [select for diffs]
Modified Fri Feb 21 15:51:32 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1995 , to selected 5305
Start using serial so we can remove the add sequence commands
a few other random changes
Part of upgrading to PostgreSQL 7.3

Revision 1995 - Directory Listing - [select for diffs]
Modified Thu Feb 20 22:29:19 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1994 , to selected 5305
Part of upgrade to 7.3 - use "timestamp with time zone" instead of "timestamp"

Revision 1994 - Directory Listing - [select for diffs]
Modified Thu Feb 20 21:00:13 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1993 , to selected 5305
It seems I deleted a great deal during a previous commit.

Revision 1993 - Directory Listing - [select for diffs]
Modified Mon Feb 17 20:52:48 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1992 , to selected 5305
Add commits_latest, which seems to have been deleted/omitted.

Revision 1992 - Directory Listing - [select for diffs]
Modified Mon Feb 17 20:42:17 2003 UTC (22 years, 1 month ago) by dan
Diff to previous 1956 , to selected 5305
Some changes, don't know what...

Revision 1956 - Directory Listing - [select for diffs]
Modified Fri Jan 10 17:14:16 2003 UTC (22 years, 2 months ago) by dan
Diff to previous 1938 , to selected 5305
In commits_latest_ports, add security_notice_id

Revision 1938 - Directory Listing - [select for diffs]
Modified Thu Jan 9 19:45:28 2003 UTC (22 years, 2 months ago) by dan
Diff to previous 1918 , to selected 5305
redo the security notice tables to be more compact
rearrange the diagram for printing

Revision 1918 - Directory Listing - [select for diffs]
Modified Tue Dec 17 16:30:22 2002 UTC (22 years, 3 months ago) by dan
Diff to previous 1877 , to selected 5305
Lots of changes to fix errors/warnings found by pressing F4.
Add housekeeping.id to explore speed improvements

Revision 1877 - Directory Listing - [select for diffs]
Modified Wed Dec 11 16:19:52 2002 UTC (22 years, 3 months ago) by dan
Diff to previous 1810 , to selected 5305
add:
users.watch_list_add_remove
users.max_number_watch_lists

Revision 1810 - Directory Listing - [select for diffs]
Modified Sun Dec 8 17:46:25 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1803 , to selected 5305
Add users.watch_list_add_remove

Revision 1803 - Directory Listing - [select for diffs]
Modified Sun Dec 8 04:03:58 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1802 , to selected 5305
changes for multiple watch lists

Revision 1802 - Directory Listing - [select for diffs]
Modified Sun Dec 8 04:03:37 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1758 , to selected 5305
Add watch_list.in_service
Alter watch_list_staging to use user_id instead of watch_list_id

Revision 1758 - Directory Listing - [select for diffs]
Modified Wed Dec 4 17:16:58 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1756 , to selected 5305
We had two Stats_CommitCountPorts; rename one to Stats_CommitCount.

Revision 1756 - Directory Listing - [select for diffs]
Modified Wed Dec 4 16:38:18 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1752 , to selected 5305
Add Stats_CommitLogCount

Revision 1752 - Directory Listing - [select for diffs]
Modified Tue Dec 3 20:18:24 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1745 , to selected 5305
Add note about watch_list columns not all being used

Revision 1745 - Directory Listing - [select for diffs]
Modified Tue Dec 3 15:36:22 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1705 , to selected 5305
Add a whole new bunch of statistics

Revision 1705 - Directory Listing - [select for diffs]
Modified Mon Nov 25 20:47:14 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1704 , to selected 5305
Add a note about populating element_pathnames

Revision 1704 - Directory Listing - [select for diffs]
Modified Mon Nov 25 20:46:58 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1699 , to selected 5305
Move element_pathnames to ri.txt from sp.txt

Revision 1699 - Directory Listing - [select for diffs]
Modified Sun Nov 24 05:32:57 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1698 , to selected 5305
Add element_pathnames

Revision 1698 - Directory Listing - [select for diffs]
Modified Sun Nov 24 05:23:21 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1696 , to selected 5305
Add committer_notify

Revision 1696 - Directory Listing - [select for diffs]
Modified Sun Nov 24 04:57:17 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1695 , to selected 5305
Log changes to users.email

Revision 1695 - Directory Listing - [select for diffs]
Modified Sun Nov 24 04:56:29 2002 UTC (22 years, 4 months ago) by dan
Diff to previous 1586 , to selected 5305
- Make Element_Pathname iscachable
- Always insert into system_branch_element_revision when setting a tag
- Use a case instead of a COALESCE for system_branch_element_revision

Revision 1586 - Directory Listing - [select for diffs]
Modified Sat Jul 27 23:24:45 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1585 , to selected 5305
Add revision_name

Revision 1585 - Directory Listing - [select for diffs]
Modified Sat Jul 27 20:15:48 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1582 , to selected 5305
add a much simplier commits_recent

Revision 1582 - Directory Listing - [select for diffs]
Modified Fri Jul 26 21:21:39 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1581 , to selected 5305
sorry, that should have been changes for freshsource

Revision 1581 - Directory Listing - [select for diffs]
Modified Fri Jul 26 21:20:57 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1578 , to selected 5305
latest changes for freshports

Revision 1578 - Directory Listing - [select for diffs]
Modified Fri Jul 26 15:46:02 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1577 , to selected 5305
oops, use commits_recent_ports instead of commits_recent

Revision 1577 - Directory Listing - [select for diffs]
Modified Fri Jul 26 15:09:54 2002 UTC (22 years, 8 months ago) by dan
Diff to previous 1549 , to selected 5305
use commits_latest_ports instead of commits_latest, which freshsource
will now use.

Revision 1549 - Directory Listing - [select for diffs]
Modified Sun Jun 16 20:42:52 2002 UTC (22 years, 9 months ago) by dan
Diff to previous 1545 , to selected 5305
latest version of report_log_latest

Revision 1545 - Directory Listing - [select for diffs]
Modified Sun Jun 16 15:29:58 2002 UTC (22 years, 9 months ago) by dan
Diff to previous 1494 , to selected 5305
Add the reporting module

Revision 1494 - Directory Listing - [select for diffs]
Modified Tue May 28 15:53:47 2002 UTC (22 years, 10 months ago) by dan
Diff to previous 1450 , to selected 5305
create Stats_PortCountNewInterval and modify  Stats_PortCountNewToday Stats_PortCountNewYesterday
and Stats_PortCountNewThisWeek to use it.

Revision 1450 - Directory Listing - [select for diffs]
Modified Sun May 19 22:22:38 2002 UTC (22 years, 10 months ago) by dan
Diff to previous 1449 , to selected 5305
Add daily_stats, daily_stats_data.

Revision 1449 - Directory Listing - [select for diffs]
Modified Sun May 19 22:13:07 2002 UTC (22 years, 10 months ago) by dan
Diff to previous 1360 , to selected 5305
Add functions for more stats

Revision 1360 - Directory Listing - [select for diffs]
Modified Wed Apr 24 19:37:38 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1359 , to selected 5305
Update date in copyright message

Revision 1359 - Directory Listing - [select for diffs]
Modified Wed Apr 24 19:35:52 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1351 , to selected 5305
Add index on ports (element_id)
Add graphs table

Revision 1351 - Directory Listing - [select for diffs]
Modified Tue Apr 23 00:02:22 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1343 , to selected 5305
Lets simply the code and make it work with inserts and null parents

Revision 1343 - Directory Listing - [select for diffs]
Modified Mon Apr 22 02:10:29 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1342 , to selected 5305
Ummm, let's only check parent status if we are dealing with a port here

Revision 1342 - Directory Listing - [select for diffs]
Modified Mon Apr 22 02:04:23 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1260 , to selected 5305
Delete or activate the parent if a child is modified

Revision 1260 - Directory Listing - [select for diffs]
Modified Fri Apr 12 15:08:18 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1253 , to selected 5305
Add status to ports_all

Revision 1253 - Directory Listing - [select for diffs]
Modified Fri Apr 12 06:26:31 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1218 , to selected 5305
add encoding_losses

Revision 1218 - Directory Listing - [select for diffs]
Modified Tue Apr 2 04:55:44 2002 UTC (23 years ago) by dan
Diff to previous 1212 , to selected 5305
Add commits_latest_tmp.message_id so we can link from the webpage to the
mailing list archive.

Revision 1212 - Directory Listing - [select for diffs]
Modified Tue Apr 2 02:59:26 2002 UTC (23 years ago) by dan
Diff to previous 1184 , to selected 5305
oops, reverse the sign on SystemTimeAdjust()

Revision 1184 - Directory Listing - [select for diffs]
Modified Mon Apr 1 20:54:57 2002 UTC (23 years ago) by dan
Diff to previous 1183 , to selected 5305
remove ports2, categories2, and element2
no idea where they came from

Revision 1183 - Directory Listing - [select for diffs]
Modified Mon Apr 1 20:53:43 2002 UTC (23 years ago) by dan
Diff to previous 1182 , to selected 5305
Add Daily_Refreshes table

Revision 1182 - Directory Listing - [select for diffs]
Modified Mon Apr 1 20:45:02 2002 UTC (23 years ago) by dan
Diff to previous 1170 , to selected 5305
Add Daily_Refreshes table and function for adding stuff to
and removing entries from.

Revision 1170 - Directory Listing - [select for diffs]
Modified Thu Mar 28 13:05:34 2002 UTC (23 years ago) by dan
Diff to previous 1169 , to selected 5305
Make the functions previously in sp-config.txt.sample data driven
and move them back into sp.txt

Revision 1169 - Directory Listing - [select for diffs]
Modified Thu Mar 28 03:52:00 2002 UTC (23 years ago) by dan
Diff to previous 1168 , to selected 5305
- add committer to commits_latest
- set users.emailbouncecount default to zero
- add view ports_all

Revision 1168 - Directory Listing - [select for diffs]
Modified Thu Mar 28 03:42:57 2002 UTC (23 years ago) by dan
Diff to previous 1156 , to selected 5305
Add committer to front page.

Revision 1156 - Directory Listing - [select for diffs]
Modified Sat Mar 23 03:06:31 2002 UTC (23 years ago) by (unknown author)
Diff to previous 1155 , to selected 5305
This commit was manufactured by cvs2svn to create branch 'FreshPorts2'.
Revision 1155 - Directory Listing - [select for diffs]
Modified Sat Mar 23 03:06:30 2002 UTC (23 years ago) by dan
Diff to previous 1135 , to selected 5305
Split functions into two parts.
One which requires configuration for local use. The other does not.

Revision 1135 - Directory Listing - [select for diffs]
Modified Tue Mar 19 13:27:55 2002 UTC (23 years ago) by dan
Diff to previous 1121 , to selected 5305
Latest version

Revision 1121 - Directory Listing - [select for diffs]
Modified Sun Mar 17 17:46:31 2002 UTC (23 years ago) by dan
Diff to previous 1120 , to selected 5305
- add list of options required in PowerDesigner 6.0 to
  generate this database schema
- modify ports_check replacing found_in_ports wih category_id
  and port_id
- create index on ports (element_id)
- create view ports_active

Revision 1120 - Directory Listing - [select for diffs]
Modified Sun Mar 17 17:46:06 2002 UTC (23 years ago) by dan
Diff to previous 1117 , to selected 5305
update PortVerifyBegin to use new ports_check strategy

Revision 1117 - Directory Listing - [select for diffs]
Modified Fri Mar 15 00:54:36 2002 UTC (23 years ago) by dan
Diff to previous 1116 , to selected 5305
Add revision to commits_latest

Revision 1116 - Directory Listing - [select for diffs]
Modified Fri Mar 15 00:54:01 2002 UTC (23 years ago) by dan
Diff to previous 1113 , to selected 5305
use ports.revision/version if commit_log_ports value is null

Revision 1113 - Directory Listing - [select for diffs]
Modified Thu Mar 14 20:16:19 2002 UTC (23 years ago) by dan
Diff to previous 1109 , to selected 5305
Alter watch_notice_log, rename frequency to frequency_id and add
FK to watch_notice.

add view commits_recent.

Revision 1109 - Directory Listing - [select for diffs]
Modified Thu Mar 14 19:47:15 2002 UTC (23 years ago) by dan
Diff to previous 1108 , to selected 5305
Add commits_recent view used to ensure the last one hundred ports are listed.

Revision 1108 - Directory Listing - [select for diffs]
Modified Thu Mar 14 19:46:39 2002 UTC (23 years ago) by dan
Diff to previous 1106 , to selected 5305
RecordLastestPortCommits now works independently of date. and uses a view.

Revision 1106 - Directory Listing - [select for diffs]
Modified Thu Mar 14 19:08:17 2002 UTC (23 years ago) by dan
Diff to previous 1105 , to selected 5305
Start using our view so we only get all the ports for the last 100 commits

Revision 1105 - Directory Listing - [select for diffs]
Modified Tue Mar 12 19:25:40 2002 UTC (23 years ago) by dan
Diff to previous 1098 , to selected 5305
remove DROP FUNCTION statements.
change CREATE FUNCTION to CREATE OR REPLACE FUNCTION to avoid dependency
problems which arise when you drop a function which is used by another function.

Revision 1098 - Directory Listing - [select for diffs]
Modified Mon Mar 11 19:02:20 2002 UTC (23 years ago) by dan
Diff to previous 1095 , to selected 5305
If we try to add a file into the tree, and it's parent is a file,
change it to a directory rather than raise an exception.

Revision 1095 - Directory Listing - [select for diffs]
Modified Sun Mar 10 16:02:36 2002 UTC (23 years ago) by dan
Diff to previous 1091 , to selected 5305
Latest and greatest

Revision 1091 - Directory Listing - [select for diffs]
Modified Sun Mar 3 00:37:49 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1089 , to selected 5305
Add functions for checking /usr/ports/INDEX

Revision 1089 - Directory Listing - [select for diffs]
Modified Sat Mar 2 21:12:53 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1088 , to selected 5305
Let's start logging changes to the staging area

Revision 1088 - Directory Listing - [select for diffs]
Modified Sat Mar 2 21:12:27 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1086 , to selected 5305
Let's start logging changes to the staging area.

Revision 1086 - Directory Listing - [select for diffs]
Modified Sat Mar 2 17:22:24 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1085 , to selected 5305
adjust comments to be accurate

Revision 1085 - Directory Listing - [select for diffs]
Modified Sat Mar 2 17:09:04 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1083 , to selected 5305
WatchListStagingMergeWatchList is no longer used

Revision 1083 - Directory Listing - [select for diffs]
Modified Sat Mar 2 16:29:59 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1074 , to selected 5305
remove some unused but duplicated references

Revision 1074 - Directory Listing - [select for diffs]
Modified Thu Feb 28 21:38:03 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1071 , to selected 5305
OK, now we have staging area clear, and update watch list working.

Revision 1071 - Directory Listing - [select for diffs]
Modified Wed Feb 27 21:10:25 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1067 , to selected 5305
new pkg_info -qoa strategy

Revision 1067 - Directory Listing - [select for diffs]
Modified Wed Feb 27 04:55:56 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1064 , to selected 5305
major change to use pkg_info -qao

Revision 1064 - Directory Listing - [select for diffs]
Modified Tue Feb 26 00:32:40 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1063 , to selected 5305
Added new tables: watch_list_staging_results & watch_list_staging
for use with processing pkg_info uploads

Revision 1063 - Directory Listing - [select for diffs]
Modified Tue Feb 26 00:31:44 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1050 , to selected 5305
stuff for processing pkg_info uploading

Revision 1050 - Directory Listing - [select for diffs]
Modified Sun Feb 24 01:12:27 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1041 , to selected 5305
add ip-address to users table.

Revision 1041 - Directory Listing - [select for diffs]
Modified Sat Feb 23 23:25:52 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1037 , to selected 5305
Add ConfirmUserAccount

Revision 1037 - Directory Listing - [select for diffs]
Modified Sat Feb 23 04:17:53 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1017 , to selected 5305
when a new user is created, add a token to user_confirmations

Revision 1017 - Directory Listing - [select for diffs]
Modified Thu Feb 21 23:17:59 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 989 , to selected 5305
looks good for avoiding deadlock on slower machinesk

Revision 989 - Directory Listing - [select for diffs]
Modified Wed Feb 20 22:04:32 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 974 , to selected 5305
When we add a user, create their watch list.

Revision 974 - Directory Listing - [select for diffs]
Modified Mon Feb 18 03:35:43 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 973 , to selected 5305
lastest and greatest

Revision 973 - Directory Listing - [select for diffs]
Modified Mon Feb 18 00:13:10 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 957 , to selected 5305
The first thing we do is reset the refresh bit in case any refreshes
complete while we are updating.

Revision 957 - Directory Listing - [select for diffs]
Modified Sun Feb 17 20:00:58 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 956 , to selected 5305
Add a new column to housekeeping, refresh_done.  Any time a port is refreshed,
this bit should be set.  It will be cleared by RecordLastestPortCommits.

Revision 956 - Directory Listing - [select for diffs]
Modified Sun Feb 17 19:59:43 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 930 , to selected 5305
Clear the refresh_done bit.

Revision 930 - Directory Listing - [select for diffs]
Modified Thu Feb 14 21:10:30 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 929 , to selected 5305
Make sure we put the basic data into the system so it is usable.

Revision 929 - Directory Listing - [select for diffs]
Modified Thu Feb 14 21:07:14 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 928 , to selected 5305
add some raw data into the required tables

Revision 928 - Directory Listing - [select for diffs]
Modified Thu Feb 14 20:37:47 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 927 , to selected 5305
Add two new tables: commits_latest housekeeping

Revision 927 - Directory Listing - [select for diffs]
Modified Thu Feb 14 20:37:16 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 900 , to selected 5305
Add two table: commits_latest and housekeeping
which will be used mostly by RecordLastestPortCommits
which records the query results into a table for
easy retrieval.

Revision 900 - Directory Listing - [select for diffs]
Modified Sun Feb 10 18:01:55 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 896 , to selected 5305
use text instead of varchar in Element_Pathname

Revision 896 - Directory Listing - [select for diffs]
Modified Sat Feb 9 19:54:18 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 878 , to selected 5305
Add the ports.categories field to the schema

Revision 878 - Directory Listing - [select for diffs]
Modified Sun Feb 3 15:18:17 2002 UTC (23 years, 2 months ago) by dan
Diff to previous 872 , to selected 5305
remove an unused ElementTagSet and modify the one which is used.
before we insert into system_branch_element_revision, ensure
the entry is not already there.

Revision 872 - Directory Listing - [select for diffs]
Modified Sat Feb 2 06:12:00 2002 UTC (23 years, 2 months ago) by dan
Diff to previous 866 , to selected 5305
Add port_revision to commit_log_ports

Revision 866 - Directory Listing - [select for diffs]
Modified Fri Feb 1 01:34:58 2002 UTC (23 years, 2 months ago) by dan
Diff to previous 865 , to selected 5305
oops, don't do asc on indexes.

Revision 865 - Directory Listing - [select for diffs]
Modified Fri Feb 1 01:08:41 2002 UTC (23 years, 2 months ago) by dan
Diff to previous 864 , to selected 5305
commit that stuff

Revision 864 - Directory Listing - [select for diffs]
Modified Fri Feb 1 01:08:25 2002 UTC (23 years, 2 months ago) by dan
Diff to previous 838 , to selected 5305
add default values for some timestamp field
add index on commit_log(message_id)

Revision 838 - Directory Listing - [select for diffs]
Modified Sun Jan 6 22:17:17 2002 UTC (23 years, 3 months ago) by dan
Diff to previous 746 , to selected 5305
simplify WatchListAdd so you provide the watch list id and the element pathname

Revision 746 - Directory Listing - [select for diffs]
Modified Sun Dec 23 18:32:25 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 745 , to selected 5305
Includes commit_log_ports

Revision 745 - Directory Listing - [select for diffs]
Modified Sun Dec 23 18:32:01 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 744 , to selected 5305
Includes commit_log_ports.

Revision 744 - Directory Listing - [select for diffs]
Modified Sun Dec 23 18:30:32 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 707 , to selected 5305
Latest build

Revision 707 - Directory Listing - [select for diffs]
Modified Tue Dec 11 04:24:55 2001 UTC (23 years, 3 months ago) by dan
Diff to previous 688 , to selected 5305
Add commit_log_port and renamed commit_log_port to commit_log_port_elements

Revision 688 - Directory Listing - [select for diffs]
Modified Thu Nov 29 05:32:38 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 682 , to selected 5305
Add system.time_adjust field

Revision 682 - Directory Listing - [select for diffs]
Modified Thu Nov 29 01:44:28 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 681 , to selected 5305
Remember to update the date

Revision 681 - Directory Listing - [select for diffs]
Modified Thu Nov 29 01:30:23 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 653 , to selected 5305
Add user_confirmations table for email verification

Revision 653 - Directory Listing - [select for diffs]
Modified Fri Nov 23 20:14:18 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 639 , to selected 5305
correct some on delete cascade...

Revision 639 - Directory Listing - [select for diffs]
Modified Wed Nov 21 05:18:41 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 638 , to selected 5305
directory_file_flag should be F or D.
make some RI constraints cascade not restrict

Revision 638 - Directory Listing - [select for diffs]
Modified Wed Nov 21 05:12:30 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 637 , to selected 5305
directory_file_flag should be F or D.
make some RI constraints cascade not restrict

Revision 637 - Directory Listing - [select for diffs]
Modified Wed Nov 21 04:06:37 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 635 , to selected 5305
remove GetOrCreateCategory which was not used.
Remove quotes from field names which screwed up the category entries.

Revision 635 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:52:16 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 632 , to selected 5305
Name things correctly

Revision 632 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:23:00 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 630 , to selected 5305
remember to set status in element.

Revision 630 - Directory Listing - [select for diffs]
Modified Tue Nov 20 18:03:01 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 625 , to selected 5305
commit_log contains a field called description, not update_description

Revision 625 - Directory Listing - [select for diffs]
Modified Tue Nov 20 16:42:55 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 624 , to selected 5305
rename system_version         to system_branch
rename system_version_element to system_branch_element_revision

remove some unneeded sequences

Revision 624 - Directory Listing - [select for diffs]
Modified Tue Nov 20 16:41:16 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 623 , to selected 5305
remove comment to enable drop trigger.

Revision 623 - Directory Listing - [select for diffs]
Modified Tue Nov 20 16:39:12 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 622 , to selected 5305
rename system_version         to system_branch
rename system_version_element to system_branch_element_revision

Revision 622 - Directory Listing - [select for diffs]
Modified Tue Nov 20 16:30:58 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 621 , to selected 5305
rename system_version         to system_branch
rename system_version_element to system_branch_element_revision

remove some unneeded sequences

Revision 621 - Directory Listing - [select for diffs]
Modified Tue Nov 20 12:23:06 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 620 , to selected 5305
add ID to head of file.

Revision 620 - Directory Listing - [select for diffs]
Modified Tue Nov 20 12:22:26 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 619 , to selected 5305
New stuff

Revision 619 - Directory Listing - [select for diffs]
Modified Tue Nov 20 12:22:16 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 618 , to selected 5305
add commit_log - commit_log_elements integrity

Revision 618 - Directory Listing - [select for diffs]
Modified Tue Nov 20 12:20:08 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 617 , to selected 5305
Add stuff about creating INDEXES

Revision 617 - Directory Listing - [select for diffs]
Modified Tue Nov 20 12:18:59 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 600 , to selected 5305
for latest changes

Revision 600 - Directory Listing - [select for diffs]
Modified Sun Nov 11 05:18:36 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 594 , to selected 5305
provide a way to get a category/port from a pathname

Revision 594 - Directory Listing - [select for diffs]
Modified Sun Nov 11 01:33:12 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 587 , to selected 5305
instructions for creating database schema

Revision 587 - Directory Listing - [select for diffs]
Modified Sat Nov 10 00:17:33 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 586 , to selected 5305
put it all away again

Revision 586 - Directory Listing - [select for diffs]
Modified Sat Nov 10 00:15:23 2001 UTC (23 years, 4 months ago) by dan
Diff to previous 560 , to selected 5305
change ports table

Revision 560 - Directory Listing - [select for diffs]
Modified Tue Nov 6 19:13:20 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 559 , to selected 5305
Add GetCategory(int4)

Revision 559 - Directory Listing - [select for diffs]
Modified Tue Nov 6 15:52:33 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 549 , to selected 5305
Add CreatePort

Revision 549 - Directory Listing - [select for diffs]
Modified Mon Oct 29 22:51:55 2001 UTC (23 years, 5 months ago) by dan
Diff to previous 433 , to selected 5305
Add IsPortsTree
return TRUE if the element exists under the ports tree

Revision 433 - Directory Listing - [select for diffs]
Modified Wed Jun 6 15:07:44 2001 UTC (23 years, 10 months ago) by dan
Diff to previous 432 , to selected 5305
add GetPort

Revision 432 - Directory Listing - [select for diffs]
Modified Wed Jun 6 15:07:30 2001 UTC (23 years, 10 months ago) by dan
Diff to previous 402 , to selected 5305
change a restrict to a cascade.

Revision 402 - Directory Listing - [select for diffs]
Modified Sun Mar 11 01:37:27 2001 UTC (24 years ago) by dan
Diff to previous 401 , to selected 5305
add more comments and debugging.  comment out all debugging.

Revision 401 - Directory Listing - [select for diffs]
Modified Sun Mar 11 01:27:24 2001 UTC (24 years ago) by dan
Diff to previous 400 , to selected 5305
Don't let an object be a parent of itself.

Revision 400 - Directory Listing - [select for diffs]
Modified Sun Mar 11 01:27:03 2001 UTC (24 years ago) by dan
Diff to previous 399 , to selected 5305
Make sure default value for status is specified.

Revision 399 - Directory Listing - [select for diffs]
Modified Sat Mar 10 23:59:32 2001 UTC (24 years ago) by dan
Diff to previous 398 , to selected 5305
I think we should be using this instead of the other.pd* files

Revision 398 - Directory Listing - [select for diffs]
Modified Sat Mar 10 23:55:02 2001 UTC (24 years ago) by dan
Diff to previous 397 , to selected 5305
fix up some typos
add/remove some drops to avoid error messages.

Revision 397 - Directory Listing - [select for diffs]
Modified Sat Mar 10 23:28:43 2001 UTC (24 years ago) by dan
Diff to previous 396 , to selected 5305
Remove uneeded sequences.
Remove asc from index creation.
Remove foreign key names from foreign key creation.

Revision 396 - Directory Listing - [select for diffs]
Modified Sat Mar 10 23:10:13 2001 UTC (24 years ago) by dan
Diff to previous 386 , to selected 5305
first commit - use this code to create a FreshPorts2 database.

Revision 386 - Directory Listing - [select for diffs]
Modified Tue Mar 6 02:19:54 2001 UTC (24 years, 1 month ago) by dan
Diff to previous 383 , to selected 5305
IsLoginValid added.

Revision 383 - Directory Listing - [select for diffs]
Modified Fri Mar 2 09:13:44 2001 UTC (24 years, 1 month ago) by dan
Diff to previous 369 , to selected 5305
add WatchListAdd, a function for adding an element to a user's main watch list.

Revision 369 - Directory Listing - [select for diffs]
Modified Sat Feb 17 01:14:11 2001 UTC (24 years, 1 month ago) by dan
Diff to previous 368 , to selected 5305
Adding triggers to set an element as deleted if a new commit_log_element
arrives with change_type = 'R'.

Revision 368 - Directory Listing - [select for diffs]
Modified Fri Feb 16 12:37:19 2001 UTC (24 years, 1 month ago) by dan
Diff to previous 365 , to selected 5305
Remember to add parents as we trace through the tree to add a new
element.

Revision 365 - Directory Listing - [select for diffs]
Modified Sun Jan 28 20:05:44 2001 UTC (24 years, 2 months ago) by dan
Diff to previous 363 , to selected 5305
add functions for system_version_element

Revision 363 - Directory Listing - [select for diffs]
Modified Sun Jan 28 02:31:01 2001 UTC (24 years, 2 months ago) by dan
Diff to previous 359 , to selected 5305
The final bit of code to reflect the latest database changes.
element_revsion is just two fields.
system_version_element is just three fields.

Revision 359 - Directory Listing - [select for diffs]
Modified Fri Jan 26 10:25:18 2001 UTC (24 years, 2 months ago) by dan
Diff to previous 333 , to selected 5305
Just the latest.

Revision 333 - Directory Listing - [select for diffs]
Modified Sat Jan 6 06:08:34 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 327 , to selected 5305
more changes.

Revision 327 - Directory Listing - [select for diffs]
Modified Thu Jan 4 22:35:56 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 326 , to selected 5305
*** empty log message ***

Revision 326 - Directory Listing - [select for diffs]
Modified Thu Jan 4 20:25:09 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 325 , to selected 5305
Initial import.

Revision 325 - Directory Listing - [select for diffs]
Modified Thu Jan 4 20:23:06 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 324 , to selected 5305
*** empty log message ***

Revision 324 - Directory Listing - [select for diffs]
Modified Thu Jan 4 20:19:18 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 323 , to selected 5305
*** empty log message ***

Revision 323 - Directory Listing - [select for diffs]
Modified Thu Jan 4 20:05:20 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 320 , to selected 5305
*** empty log message ***

Revision 320 - Directory Listing - [select for diffs]
Modified Thu Jan 4 19:41:11 2001 UTC (24 years, 3 months ago) by (unknown author)
Diff to previous 318 , to selected 5305
This commit was manufactured by cvs2svn to create tag 'head'.
Revision 318 - Directory Listing - [select for diffs]
Modified Thu Jan 4 19:41:09 2001 UTC (24 years, 3 months ago) by dan
Diff to previous 317 , to selected 5305
Create the FreshPorts2 project

Revision 317 - Directory Listing - [select for diffs]
Added Thu Jan 4 19:41:09 2001 UTC (24 years, 3 months ago) by (unknown author)
Diff to selected 5305
Standard project directories initialized by cvs2svn.

Convenience Links