Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
PyPCC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
LOFAR2.0
PyPCC
Commits
987aab57
Commit
987aab57
authored
1 year ago
by
Paulus Kruger
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://git.astron.nl/lofar2.0/pypcc
parents
a9c401f9
0ebce0d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pypcc/pypcc.py
+1
-1
1 addition, 1 deletion
pypcc/pypcc.py
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
3 additions
and
2 deletions
pypcc/pypcc.py
+
1
−
1
View file @
987aab57
...
...
@@ -68,7 +68,7 @@ configs=[]
if
not
(
args
.
test
):
handler
=
opcuaserv
.
InitServer
(
port
=
args
.
port
)
logging
.
info
(
"
Load OPCUA variables & start i2c listing thread
"
)
opcuaserv
.
AddVarR
(
"
pypcc_git_hash
"
,
git_hash
,[],
False
)
opcuaserv
.
AddVarR
(
"
TR_software_version_R
"
,
git_hash
,[],
False
)
for
i
,
name
in
enumerate
(
I2Cports
):
RCU_I2C
=
I2Cclients
[
i
]
RCU_conf
=
yamlreader
.
yamlreader
(
RCU_I2C
,
yamlfile
=
name
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
987aab57
...
...
@@ -4,7 +4,8 @@ import subprocess
def
_get_version_hash
():
"""
Talk to git and find out the tag/hash of our latest commit
"""
try
:
p
=
subprocess
.
Popen
([
"
git
"
,
"
rev-parse
"
,
"
HEAD
"
],
# p = subprocess.Popen(["git", "rev-parse","HEAD"],
p
=
subprocess
.
Popen
([
"
git
"
,
"
show
"
,
"
-s
"
,
"
--format=%ci
"
],
# p = subprocess.Popen(["git", "log","-1","--format='%H'"],
stdout
=
subprocess
.
PIPE
)
except
EnvironmentError
:
...
...
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