Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.5-rc1-4-g1966d21 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 8 Jan 2014 17:04:51 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.5-rc1-4-g1966d21
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".
The branch, netdot-1.0 has been updated
via 1966d21ed0bece914741fb2f7c987bf19b565bc4 (commit)
via 40dd6340654202813926b34f2f830478cc36e503 (commit)
from ea497c63eb9208e2adaf54f2fe250872d79fd130 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1966d21ed0bece914741fb2f7c987bf19b565bc4
Author: Carlos Vicente <[email protected]>
Date: Wed Jan 8 20:04:37 2014 -0500
Correction in upgrade script
diff --git a/upgrade/updatedb b/upgrade/updatedb
index 221ca80..2103f9f 100644
--- a/upgrade/updatedb
+++ b/upgrade/updatedb
@@ -15,6 +15,7 @@ $CONFIG{DEFAULT_DATA} = "$CONFIG{CONFIG_DIR}/default_data";
my $netdot_config = Netdot::Config->new(config_dir => $CONFIG{CONFIG_DIR});
my $dbms = $netdot_config->get('DB_TYPE');
+my $netdot_user = $netdot_config->get("DB_NETDOT_USER");
my $dbh = &dbconnect();
# Get the current schema version from DB
@@ -263,7 +264,7 @@ sub upg_104_105 {
);
CREATE INDEX "ASN2" on "asn" ("rir");';
- push @statements, "GRANT SELECT,INSERT,UPDATE,DELETE ON asn TO
netdot_user;";
+ push @statements, "GRANT SELECT,INSERT,UPDATE,DELETE ON asn TO
$netdot_user;";
push @statements, "ALTER TABLE ipblock ADD COLUMN asn bigint;";
push @statements, "ALTER TABLE ipblock ADD CONSTRAINT \"fk_asn\"
FOREIGN KEY (\"asn\") ".
commit 40dd6340654202813926b34f2f830478cc36e503
Author: Carlos Vicente <[email protected]>
Date: Wed Jan 8 15:03:29 2014 -0500
Correction to Pg statement in upgrade script
diff --git a/upgrade/updatedb b/upgrade/updatedb
index 0724b16..221ca80 100644
--- a/upgrade/updatedb
+++ b/upgrade/updatedb
@@ -290,7 +290,7 @@ sub upg_104_105 {
push @statements, "ALTER TABLE device ADD COLUMN monitoring_template
character varying(255);";
- push @statements, "ALTER TABLE device ADD COLUMN host_device TYPE
bigint;";
+ push @statements, "ALTER TABLE device ADD COLUMN host_device bigint;";
push @statements, "ALTER TABLE device ADD CONSTRAINT \"fk_host_device\"
FOREIGN KEY (\"host_device\") ".
"REFERENCES \"device\" (\"id\") DEFERRABLE;";
-----------------------------------------------------------------------
Summary of changes:
upgrade/updatedb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 82, Issue 2
*******************************************