Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
1e611f05
Commit
1e611f05
authored
Sep 10, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c05e0667
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
go/neo/t/t.sh
go/neo/t/t.sh
+22
-0
No files found.
go/neo/t/t.sh
View file @
1e611f05
...
@@ -233,6 +233,28 @@ echo -n "# "; uname -a
...
@@ -233,6 +233,28 @@ echo -n "# "; uname -a
echo
-n
"# "
;
python
--version
echo
-n
"# "
;
python
--version
echo
-n
"# "
;
go version
echo
-n
"# "
;
go version
echo
-n
"# "
;
mysqld
--version
echo
-n
"# "
;
mysqld
--version
# pyver <egg> (<showas>) - print version of egg
pyver
()
{
local
egg
=
$1
local
showas
=
$2
test
"
$showas
"
==
""
&&
showas
=
$egg
local
loc
local
pyver
{
read
loc
read
pyver
}
< <
(
python
-c
"import pkg_resources as p; e=p.require(
\"
$egg
\"
)[0]; print(
\"
%s
\n
%s
\"
% (e.location, e.version))"
)
local
gitver
=
$(
git
-C
$loc
describe
--long
--dirty
2>/dev/null
)
local
ver
test
"
$gitver
"
!=
""
&&
ver
=
"
$gitver
"
||
ver
=
"
$pyver
"
printf
"# %-16s: %s
\n
"
"
$showas
"
"
$ver
"
}
pyver neoppod neo
pyver zodb
pyver zeo
pyver mysqlclient
pyver wendelin.core
exit
exit
GENfs
GENfs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment