Skip to content

Commit

Permalink
Merge pull request #64 from neilt/update_roles_2023_11
Browse files Browse the repository at this point in the history
Add requirements for running gather-db-info.pl to development-notes.md
  • Loading branch information
neilt authored Nov 21, 2023
2 parents 295b7b2 + 6b42bc7 commit 23907ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion auto-generated/role_list_appendex.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
% Auto generated using LedgerSMB version 1.11.0-dev on July 15, 07:24:54 2023 CDT.

Auto generated using LedgerSMB version 1.12.0-dev on November 21, 16:06:05 2023 CST.

\begin{description}[style=nextline]
\item [account\_all] \htmlspacing
This role combines all \gls{GL} \index{GL}\index{General Ledger} account and GIFI code rights.
Expand Down
2 changes: 2 additions & 0 deletions scripts/development-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ sudo cpanm --notest LaTeXML
sudo apt-get install -y latexmk

# For `gather-db-info.pl`
sudo apt-get install -y libdbi-perl libdbd-pg-perl

# For `get-screen-shots.pl`
sudo apt-get install -y libtest-www-selenium-perl

git clone https://github.com/neilt/ledgersmb-book.git

Expand Down
4 changes: 2 additions & 2 deletions scripts/gather-db-info.pl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ($file_name, $conn)
# Accumulate the Latex to write to file.
my $date = localtime->strftime('%B %e, %X %Y %Z');
my $lsmb_version = get_lsmb_db_version($conn);
my @tex_array = "% Auto generated using LedgerSMB version ${lsmb_version} on $date.";
my @tex_array = "\nAuto generated using LedgerSMB version ${lsmb_version} on $date.\n";
push (@tex_array, description_prolog());

my $sth = $conn->prepare($sql);
Expand All @@ -137,7 +137,7 @@ ($file_name, $conn)
# Main
#------------
print "Example Usage:\n";
print " PGHOSTADDR='172.16.1.218' PGPORT='5001' PGDATABASE='jack' PGUSER='postgres' PGPASSWORD='abc' perl gather-db-info.pl\n";
print " PGHOSTADDR='172.16.1.218' PGPORT='5001' PGDATABASE='example_inc' PGUSER='postgres' PGPASSWORD='abc' perl gather-db-info.pl\n";

# use environment variables for authentication
# host PGHOST local domain socket
Expand Down

0 comments on commit 23907ad

Please sign in to comment.