Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
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
SMASCH
scheduling-system
Commits
64fd232a
Commit
64fd232a
authored
4 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
fix on debian package build
parent
4ee4b380
No related branches found
No related tags found
1 merge request
!290
Frontend dependencies moved to npm
Pipeline
#35217
passed
4 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build_deb.sh
+1
-0
1 addition, 0 deletions
build_deb.sh
debian-files/smasch.py
+1
-0
1 addition, 0 deletions
debian-files/smasch.py
debian-template/postinst
+2
-2
2 additions, 2 deletions
debian-template/postinst
with
4 additions
and
2 deletions
build_deb.sh
+
1
−
0
View file @
64fd232a
...
...
@@ -28,6 +28,7 @@ echo "UPLOAD_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)),'../
echo
"SECRET_KEY ='tmp'"
>>
smash/local_settings.py
echo
"STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'"
>>
smash/local_settings.py
npm
install
export
PYTHONDONTWRITEBYTECODE
=
1
./manage.py collectstatic
rm
-rf
node_modules
mv
tmp-static/npm node_modules
...
...
This diff is collapsed.
Click to expand it.
debian-files/smasch.py
+
1
−
0
View file @
64fd232a
...
...
@@ -58,3 +58,4 @@ LOGGING = {
}
TWO_FACTOR_SMS_GATEWAY
=
"
web.nexmo_gateway.Nexmo
"
NPM_ROOT_PATH
=
'
/usr/lib/smasch/
'
This diff is collapsed.
Click to expand it.
debian-template/postinst
+
2
−
2
View file @
64fd232a
...
...
@@ -26,8 +26,8 @@ fi
echo
"Installing python dependencies"
{
source
/usr/lib/smasch/env/bin/activate
&&
pip
install
-r
--use-deprecated
=
legacy-resolver
/usr/lib/smasch/requirements.txt
--log
$LOG_FILE
source
/usr/lib/smasch/env/bin/activate
&&
pip
install
-r
--use-deprecated
=
legacy-resolver
/usr/lib/smasch/requirements-dev.txt
--log
$LOG_FILE
source
/usr/lib/smasch/env/bin/activate
&&
pip
install
-r
/usr/lib/smasch/requirements.txt
--log
$LOG_FILE
source
/usr/lib/smasch/env/bin/activate
&&
pip
install
-r
/usr/lib/smasch/requirements-dev.txt
--log
$LOG_FILE
}
||
{
echo
"There was an issue when installing python dependencies."
>>
$LOG_FILE
echo
"There was an issue when installing python dependencies. Reinstall of smasch could help (in case you are upgrading smasch the data should not be lost in the process): "
...
...
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