Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
devflow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
devflow
Commits
b54fa347
Commit
b54fa347
authored
12 years ago
by
Christos Stavrakakis
Browse files
Options
Downloads
Patches
Plain Diff
Export DEBEMAIL and DEBFULLNAME
parent
18be409c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
devflow/autopkg.py
+6
-1
6 additions, 1 deletion
devflow/autopkg.py
with
6 additions
and
1 deletion
devflow/autopkg.py
+
6
−
1
View file @
b54fa347
...
...
@@ -152,7 +152,6 @@ def main():
raise
ValueError
(
red
(
"
Invalid argument! Mode must be one: %s
"
%
"
,
"
.
join
(
AVAILABLE_MODES
)))
os
.
environ
[
"
DEVFLOW_BUILD_MODE
"
]
=
mode
# Load the repository
original_repo
=
utils
.
get_repository
()
...
...
@@ -176,6 +175,12 @@ def main():
raise
ValueError
(
"
Malformed branch name
'
%s
'
, cannot classify as
"
"
one of %s
"
%
(
branch
,
allowed_branches
))
# Fix needed environment variables
os
.
environ
[
"
DEVFLOW_BUILD_MODE
"
]
=
mode
git_config
=
original_repo
.
config_reader
()
os
.
environ
[
"
DEBFULLNAME
"
]
=
git_config
.
get_value
(
"
user
"
,
"
name
"
)
os
.
environ
[
"
DEBEMAIL
"
]
=
git_config
.
get_value
(
"
user
"
,
"
mail
"
)
# Get the debian branch
debian_branch
=
utils
.
get_debian_branch
(
branch
)
origin_debian
=
"
origin/
"
+
debian_branch
...
...
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