-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/add Syftbox install comand #25
Conversation
Adds a submodule to perform syftbox install <app repository>
syftbox CLI will use app_manager to install app repositories
watched the video - compelling idea |
app command will be responsible for installing and managing new syftbox apps
Rename app manager submodule to app
…nstallation workflow
Add a utils.py source file to share common variables/functions in the module
Handle when SYFT_CLIENT_CONFIG_PATH exception when the env var isn't set
…constant, move shared function to utils.py The base_path constant isn't required anymore, instead we must use the get_config_path
…app installation workflow This app.json will be responsible to keep track of which apps are installed and up to date
…wn interval schedule defined by their app.json config file Most of apps will have different requirements in terms of refresh rate. To achieve that, we must empower the app config to tell the system how often they must run.
… them properly Cover use cases where the given repository path doesn't exist / app.json is invalid or isn't found
… cover syftbox app install workflow
…unction During development process i turned off this function to track app installation.
- added support for full github urls - added version command - added debug command - added just app - added just install
|
||
|
||
def test_clone_invalid_repository(): | ||
path = "InvalidUser/InvalidRepo" |
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.
I think this is printing that you need to enter a github user because its not a valid url? Maybe it thinks its private?
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.
|
||
|
||
def test_load_app_config(): | ||
valid_json_config = { |
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.
iv made this optional for now and i think we can continue to iterate on how it would work
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 is great work. Iv made some changes and tested it so we can use it to remove the default app copier from syftbox for now.
We can continue to iterate on it as we go.
Creates a
syftbox app install
command.Acceptance Criteria:
Features:
Tests:
CODE QUALITY GUIDELINES: