-
Notifications
You must be signed in to change notification settings - Fork 14
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
Web apps #3
Web apps #3
Conversation
py-setup
Outdated
dir=$(cd -P -- "$(dirname -- "$0")" && pwd -P) | ||
cd $TARGET | ||
pip install --upgrade pip setuptools | ||
pip install -r $dir/requirements.txt | ||
flake8 -v . | ||
array=( $EXCLUDE ) |
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.
This makes me wonder if we don't want linting in a script. And that makes me wonder if we don't want a default file (including release
and version-bump
) in this repo and it gets used IFF .omeroci
doesn't provide one.
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.
removing from check from py-setup
will be necessary since I am now having to combine 2 "dockers" => flake8 is run twice
I would hope that it could be solved by cloning twice. |
36ee7fe
to
5657034
Compare
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.
Along with the two NAME comments, perhaps time to push the changes to the *-docker
scripts. I can do that if you'd like.
app-config
Outdated
#!/bin/bash | ||
set -e | ||
set +u | ||
NAME=$NAME |
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.
This line itself does nothing (other than throw an exception if the variable is not set) With the introduction of utils
, can we push the NAME creation there?
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.
Now that I managed to get things to work with the recent changes I will do a review of the various sections and readme.
docker
Outdated
|
||
|
||
app_config() { | ||
# TODO: add to run |
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.
If NAME detection is done in utils, then this method can be removed in favor of run app config
Planning to do a full review |
From the individual |
Nice. I have some changes on top ( |
3c20072 is required for |
@joshmoore last 3 commits required to remove the variables as discussed and to fix |
scripts-build
Outdated
|
||
cd $TARGET | ||
|
||
pip install --upgrade pip setuptools | ||
#pip install --upgrade pip setuptools |
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.
Did you intend to remove this?
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.
yes
let me remove the comment.
I had to move it to another file, since i now use --user
to run the tests (failures in ome/scripts
otherwise)
@joshmoore removed |
Thanks. LGTM. I'd say let's get this in. Happy for it to be |
Discussed with J-m:
|
Changes require to use test-infra for figure and iviewer
We will need to go a step further if we want to handle repo like https://github.com/MicronOxford/webtagging
(2 apps in one repo)
Check that
ome/omero-iviewer#155 is green
ome/omero-figure#259 is green
I will work on the README when we are happy with the change.