From fca49b73c66933667c16c3912f2207eefac0c43a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20A=2E=20Holm?= Date: Sat, 8 May 2010 05:04:15 +0200 Subject: [PATCH] =?utf8?q?Removing=20Patch/suuid.patch,=20it=E2=80=99s=20g?= =?utf8?q?ot=20its=20own=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 7176ed8c-5a4e-11df-8eee-90e6ba3022ac --- Patch/suuid.patch | 117 ------------------------------------------------------ 1 file changed, 117 deletions(-) delete mode 100644 Patch/suuid.patch diff --git a/Patch/suuid.patch b/Patch/suuid.patch deleted file mode 100644 index 29e4bf3..0000000 --- a/Patch/suuid.patch +++ /dev/null @@ -1,117 +0,0 @@ -Index: addpoints -=================================================================== ---- addpoints (revision 2897) -+++ addpoints (working copy) -@@ -109,6 +109,93 @@ - system($exec_str); - } - } -+ if ($Opt{'type'} =~ /suuid/) { -+ if (open(FromFP, "<$Currfile")) { -+ while (my $Line = ) { -+ # Version description from suuid r2886 (04c64336-f744-11dd-bddd-000475e441b9): -+ # Version 1 (same as above, but with version field): -+ # 1 \t -+ # uuid \t -+ # curr_time \t -+ # tag \t -+ # comment \n -+ # Version 2 -+ # 2 \t -+ # uuid \t -+ # curr_time \t -+ # tag \t -+ # comment \t -+ # current_dir \n -+ # Version 3 -+ # 3 \t -+ # uuid \t -+ # curr_time \t -+ # tag \t -+ # comment \t -+ # current_dir \t -+ # username \n -+ -+ my %Data = (); -+ if ($Line =~ # Version 1 -+ /^ -+ (1)\t # version -+ (.*?)\t # uuid -+ (.*?)\t # date -+ (.*?)\t # tag -+ (.*?)\n # comment -+ /x -+ ) { -+ $Data{'version'} = $1; -+ $Data{'uuid'} = $2; -+ $Data{'date'} = $3; -+ $Data{'tag'} = $4; -+ $Data{'comment'} = $5; -+ } -+ elsif ($Line =~ # Version 2 -+ /^ -+ (2)\t # version -+ (.*?)\t # uuid -+ (.*?)\t # date -+ (.*?)\t # tag -+ (.*?)\n # comment -+ (.*?)\n # currdir -+ /x -+ ) { -+ $Data{'version'} = $1; -+ $Data{'uuid'} = $2; -+ $Data{'date'} = $3; -+ $Data{'tag'} = $4; -+ $Data{'comment'} = $5; -+ $Data{'currdir'} = $5; -+ } -+ elsif ($Line =~ # Version 3 -+ /^ -+ (3)\t # version -+ (.*?)\t # uuid -+ (.*?)\t # date -+ (.*?)\t # tag -+ (.*?)\n # comment -+ (.*?)\n # currdir -+ (.*?)\n # username -+ /x -+ ) { -+ $Data{'version'} = $1; -+ $Data{'uuid'} = $2; -+ $Data{'date'} = $3; -+ $Data{'tag'} = $4; -+ $Data{'comment'} = $5; -+ $Data{'currdir'} = $5; -+ $Data{'username'} = $5; -+ } -+ } -+ print( -+INSERT INTO suuid (version, suuid, date, tag, comment, currdir, username) VALUES ( -+ '$Data{'version'}', -+ close(FromFP); -+ } else { -+ warn("$progname: $Currfile: Cannot open file for read: $!\n"); -+ } -+ } - if ($Opt{'type'} =~ /track/) { - my $exec_str = - "gpst -o pgtab -d -rpt $Currfile | " . -Index: postgres/create_table.sql -=================================================================== ---- postgres/create_table.sql (revision 2897) -+++ postgres/create_table.sql (working copy) -@@ -81,3 +81,14 @@ - lastupdate timestamptz, - lastname timestamptz - ); -+ -+CREATE TABLE suuid ( -+ version smallint, -+ suuid uuid, -+ date timestamptz, -+ tag varchar, -+ comment varchar. -+ currdir varchar, -+ username varchar, -+ id serial -+); -- 2.11.4.GIT