Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Requirements Manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Utilities
Requirements Manager
Commits
6667a2cb
Verified
Commit
6667a2cb
authored
2 years ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: commit save point
parent
7204b59e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
application/source/config.go
+1
-1
1 addition, 1 deletion
application/source/config.go
application/source/defaults.go
+3
-3
3 additions, 3 deletions
application/source/defaults.go
application/source/l10n.go
+1
-1
1 addition, 1 deletion
application/source/l10n.go
with
10 additions
and
5 deletions
README.md
+
5
−
0
View file @
6667a2cb
...
...
@@ -22,6 +22,11 @@ The date format for the output can be specified with the parameter `--date-forma
All confirguration values can also be specified in a configuration file.
The configuration file can be specified with the
`--config`
parameter.
If no path is specified, the configuration file
`config.yaml`
is first searched for in the working directory.
If this is not found, the file is searched for in the home directory
`~/.config/requirements-manager/config.yaml`
.
Finally, we look for the configuration in the
`/etc/requirements-manager/config.yaml`
directory.
The parameter
`path`
specifies the path.
### Help
...
...
This diff is collapsed.
Click to expand it.
application/source/config.go
+
1
−
1
View file @
6667a2cb
...
...
@@ -50,7 +50,7 @@ type Configuration struct {
Template
struct
{
Add
string
`yaml:"Add"`
}
`yaml:"Template"`
}
`yaml:"
Require
ment"`
}
`yaml:"
Docu
ment"`
}
func
fileExists
(
name
string
)
(
found
bool
)
{
...
...
This diff is collapsed.
Click to expand it.
application/source/defaults.go
+
3
−
3
View file @
6667a2cb
...
...
@@ -40,9 +40,9 @@ block-headings: true
{{.Items}}
{{ end}}{{ if .HasRequirements }}
## Document
## Document
s
{{.Document}}
{{.Document
s
}}
{{ end}}
...
...
@@ -64,7 +64,7 @@ Type: null
Alias: null
Keywords:
-
Require
ment
-
Docu
ment
# First and last name of the authors as a list
Author:
...
...
This diff is collapsed.
Click to expand it.
application/source/l10n.go
+
1
−
1
View file @
6667a2cb
...
...
@@ -243,7 +243,7 @@ var l10nMap = []l10nKeyTranslation{
},
{
"RequirementID"
,
[]
l10nLocaleTranslation
{
{
"de"
,
"Document"
},
{
"de"
,
"Document
s
"
},
{
"en"
,
"Anforderungen"
},
},
},
{
...
...
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