Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redmine-sync
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gerhard Gonter
redmine-sync
Commits
f0eae281
Commit
f0eae281
authored
7 years ago
by
Gerhard Gonter
Browse files
Options
Downloads
Patches
Plain Diff
REDMINE environment variable to select configuration stanza
parent
0d88b1e6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/Redmine/CLI.pm
+8
-0
8 additions, 0 deletions
lib/Redmine/CLI.pm
red.pl
+1
-1
1 addition, 1 deletion
red.pl
with
9 additions
and
1 deletion
lib/Redmine/CLI.pm
+
8
−
0
View file @
f0eae281
=head3 Environment variables
REDMINE ... specify stanza of selected Redmine instance
=pod
=head1 NAME
...
...
@@ -60,6 +64,10 @@ EOPOD
'
env
'
=>
<<
EOPOD
,
=head2 Enivironment
=head3 Environment variables
REDMINE ... specify stanza of selected Redmine instance
=head3 default attributes
project_name
...
...
This diff is collapsed.
Click to expand it.
red.pl
+
1
−
1
View file @
f0eae281
...
...
@@ -9,7 +9,7 @@ $Data::Dumper::Indent= 1;
use
Redmine::
CLI
;
my
$rm_cli
=
new
Redmine::
CLI
();
my
$rm_cli
=
new
Redmine::
CLI
(
cfg_stanza
=>
$ENV
{'
REDMINE
'}
);
# print __LINE__, " rm_cli: ", Dumper ($rm_cli);
$rm_cli
->
parse_args
(
@ARGV
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment