Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Trip Event Logger Config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
MSK-SW
Low-Level Radio Frequency
Trip Event Logger
Trip Event Logger Config
Commits
9fcc9d9f
Commit
9fcc9d9f
authored
8 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
added some documentation
parent
63b2f50b
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
cmake/getDebianBuildVersion
+31
-1
31 additions, 1 deletion
cmake/getDebianBuildVersion
cmake/prepare_debian_package.cmake
+22
-0
22 additions, 0 deletions
cmake/prepare_debian_package.cmake
with
53 additions
and
1 deletion
cmake/getDebianBuildVersion
+
31
−
1
View file @
9fcc9d9f
#!/bin/bash
#######################################################################################################################
# getDebianBuildVersion
#
# Determine the Debian build version from the git repository specified in the DebianPackaging.config file.
#
# Usage:
# ./getDebianBuildVersion <PACKAGE_NAME> <PACKAGE_VERSION> <DEBIAN_CODENAME> [<DEPENDENCY1_NAME_WITH_VERSION>] \
# [<DEPENDENCY2_NAME_WITH_VERSION>] [...]
#
# Example:
# ./getDebianBuildVersion DeviceAccess-DoocsBackend 0.1 xenial DeviceAccess-0.14 DOOCS-18.10.5 DoocsServerTestHelper-0.1
#
# IMPORTANT NOTES:
# If you change the order of dependencies passed to this script, the build version will be unnecessarily increased!
# Running this script requires access to the git repository and WILL eventually MAKE COMMITS to it!
#
#######################################################################################################################
#######################################################################################################################
#
# IMPORTANT NOTE:
#
# DO NOT MODIFY THIS FILE inside a project. Instead update the project-template repository and pull the change from
# there. Make sure to keep the file generic, since it will be used by other projects, too.
#
# If you have modified this file inside a project despite this warning, make sure to cherry-pick all your changes
# into the project-template repository immediately.
#
#######################################################################################################################
# obtain configuration
source
"
$(
dirname
$0
)
/DebianPackaging.config"
...
...
@@ -11,8 +40,9 @@ if [ $# -lt 3 ]; then
echo
"Example:"
echo
"./getDebianBuildVersion DeviceAccess-DoocsBackend 0.1 xenial DeviceAccess-0.14 DOOCS-18.10.5 DoocsServerTestHelper-0.1"
echo
""
echo
"I
mportant note
:"
echo
"I
MPORTANT NOTES
:"
echo
"If you change the order of dependencies passed to this script, the build version will be unnecessarily increased!"
echo
"Running this script requires access to the git repository and WILL eventually MAKE COMMITS to it!"
exit
1
fi
...
...
This diff is collapsed.
Click to expand it.
cmake/prepare_debian_package.cmake
+
22
−
0
View file @
9fcc9d9f
#######################################################################################################################
# prepare_debian_package.cmake
#
# Prepares all files needed to build Debian packages for this project (by running "make debian_package").
#
# The script uses a number of common variables provided by the project-template, especially it requires that
# previously the script set_version_numbers.cmake has been included.
#
#######################################################################################################################
#######################################################################################################################
#
# IMPORTANT NOTE:
#
# DO NOT MODIFY THIS FILE inside a project. Instead update the project-template repository and pull the change from
# there. Make sure to keep the file generic, since it will be used by other projects, too.
#
# If you have modified this file inside a project despite this warning, make sure to cherry-pick all your changes
# into the project-template repository immediately.
#
#######################################################################################################################
# Prepare the debian control files from the template.
# Basically this is setting the correct version number in most of the files
...
...
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