Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
minerva
core
Commits
6a13c535
Commit
6a13c535
authored
8 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
debian package script updated for new versioning system
parent
6a1b9de7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+6
-6
6 additions, 6 deletions
.gitignore
debian/create-debian-pkg.sh
+20
-3
20 additions, 3 deletions
debian/create-debian-pkg.sh
debian/template/changelog
+0
-38
0 additions, 38 deletions
debian/template/changelog
with
26 additions
and
47 deletions
.gitignore
+
6
−
6
View file @
6a13c535
target/
map_images/
CellDesigner-plugin/target/
annotation/target/
annotation/minerva-big/
CellDesigner-plugin/target/
commons/target/
comparison/target/
console/target/
converter/target/
converter-CellDesigner/target/
converter-SBGNML/target/
*.png
target/
debian/src/
debian/minerva*
debian/src/*.sql
*.war
editor/target/
map_images/
model/target/
model-command/target/
pathvisio/target/
...
...
@@ -22,5 +19,8 @@ persist/target/
quadTrees/target/
reactome/target/
rest-api/target/
target/
web/target/
web/src/main/webapp/svnversion.txt
*.png
*.war
This diff is collapsed.
Click to expand it.
debian/create-debian-pkg.sh
+
20
−
3
View file @
6a13c535
#!/bin/bash
versionCompLte
()
{
[
"
$1
"
=
"
`
echo
-e
"
$1
\n
$2
"
|
sort
-V
|
head
-n1
`
"
]
}
versionCompLt
()
{
[
"
$1
"
=
"
$2
"
]
&&
return
1
||
versionCompLte
$1
$2
}
#Where source file of the debian package should be placed
SRC_DIR
=
debian/src
...
...
@@ -39,6 +49,9 @@ gzip $SRC_DIR/minerva.txt
#copy configuration of logrotate
cp
debian/logrotate/
*
$SRC_DIR
/
#copy changelog file
cp
CHANGELOG
$ROOT_DIR
/debian/template/changelog
#this variable will contain all available versions of the package
versions
=()
;
...
...
@@ -46,11 +59,12 @@ versions=();
current_version
=
-1
;
#find all available versions
for
version
in
`
ls
$DB_SCHEMA_DIR
|
sort
-V
`
;
do
if
[
-d
"
$DB_SCHEMA_DIR
/
$version
"
]
then
versions
[
$version
]=
$version
;
versions
+
=(
$version
)
;
current_version
=
$version
;
fi
done
...
...
@@ -92,7 +106,7 @@ do
do
#update from version_B should contain all db changes that appeard
#after #version_B (so version_A must be later)
if
[
$version_B
-lt
$version_A
]
if
versionCompLt
$version_B
$version_A
then
upd_file
=
$SRC_DIR
/db_
"
$version_B
"
_to_
$current_version
".sql"
;
printf
"
\n\n
-- UPDATE
$version_A
/
$file
\n\n
"
>>
$upd_file
;
...
...
@@ -159,7 +173,7 @@ echo db_0.sql /usr/share\/minerva/schema >> debian/install
echo
db_0_to_
$current_version
".sql"
/usr/share/minerva/schema
>>
debian/install
for
version
in
${
versions
[*]
}
do
if
[
$version
-ne
$current_version
]
if
[
"
$version
"
!=
"
$current_version
"
]
then
echo
db_
"
$version
"
_to_
$current_version
".sql"
/usr/share/minerva/schema
>>
debian/install
;
fi
...
...
@@ -180,3 +194,6 @@ rm debian/package.doc-base.EX
#build debian package
debuild
-us
-uc
# remove temporary changelog
rm
$ROOT_DIR
/debian/template/changelog
This diff is collapsed.
Click to expand it.
debian/template/changelog
deleted
100644 → 0
+
0
−
38
View file @
6a1b9de7
minerva (10) stable; urgency=medium
* Project info tab available for users
* Management of overlays in admin panel
* Bug fix: Visualization of text mining
* Bug fix: Exception when accessing non-existing project
* Bug fix: Zooming issue when searching for results on submaps
* Bug fix: Out of memory when caching a lot of data
* Bug fix: Corrupted drug names
* Bug fix: Unexpected errors when uploading layouts
* Bug fix: Coordinates in url
* Bug fix: Hiding left panel
* Bug fix: CellDesigner font size is processed properly
* Bug fix: Search by reaction id is not case sensitive
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 22 Aug 2016 13:01:16 +0200
minerva (9) stable; urgency=medium
* Fix on install script of version 8 that crashed some new installations
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 29 Jun 2016 09:58:34 +0200
minerva (8) stable; urgency=medium
* Micro RNA interface
* Toxic chemicals interdace
* Data sets (layouts) visualized dynamically in the browser
* Reverse query for drugs, chemicals, micro RNAs interfaces
* Small bug fixes
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 14 Apr 2016 13:03:55 +0200
minerva (7) stable; urgency=low
* Initial release
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 28 Sep 2015 10:30:53 -0400
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