-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set KOLIBRI_LISTEN_PORT default to 8080 and use it in cli.start() #1729
Set KOLIBRI_LISTEN_PORT default to 8080 and use it in cli.start() #1729
Conversation
Codecov Report
@@ Coverage Diff @@
## release-v0.5.x #1729 +/- ##
=================================================
+ Coverage 73.73% 73.83% +0.1%
=================================================
Files 152 152
Lines 5516 5522 +6
Branches 650 654 +4
=================================================
+ Hits 4067 4077 +10
+ Misses 1337 1334 -3
+ Partials 112 111 -1
Continue to review full report at Codecov.
|
Build ArtifactsKolibri Installers Python packages |
Build ArtifactsKolibri Installers Python packages |
Looking into a few things to understand the loss of test coverage, added a more deliberate test of |
43cb4c2
to
399660c
Compare
Build ArtifactsKolibri Installers Python packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just need to resolve merge conflict on the CHANGELOG.
Build ArtifactsKolibri Installers Python packages |
And another merge conflict resolved! |
Except I broke everything. Sadness :( |
Build ArtifactsKolibri Installers Python packages |
Build ArtifactsKolibri Installers Python packages |
Working on it now! |
Build ArtifactsKolibri Installers Python packages |
Some strange stuff going on with the postgres tests:
|
6c77cd8
to
277347d
Compare
Rebased and force-pushed. Please have patience.. will figure out what's up with the postgres test. |
277347d
to
8f09f11
Compare
Rebased to upstream to resolve conflicts, seems ready! @rtibbles |
8f09f11
to
408037b
Compare
Seemed to still fail in the postgres tests ( Ref of build fail: https://travis-ci.org/learningequality/kolibri/jobs/254600284 |
kolibri/utils/server.py
Outdated
@@ -61,6 +61,12 @@ def start(port=8080): | |||
with open(PID_FILE, 'w') as f: | |||
f.write("%d\n%d" % (os.getpid(), port)) | |||
|
|||
# TODO: not sure where it should ideally be located. Question is if it | |||
# should be run every time the server is started or if it depends on some | |||
# kind of state change. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
37e74f3
to
2ed42cf
Compare
2ed42cf
to
31a56a8
Compare
Notice that I actually improved test coverage even though in an area where it was already very low :) |
The PR also removes creation of a legacy |
Summary
FIxes #1724
TODO
Issues addressed
#1724
Documentation
Looking through docs to see if there's any changes to be made...