Skip to content
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

Run from cli #562

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Run from cli #562

merged 3 commits into from
Jun 5, 2024

Conversation

tsundvoll
Copy link
Contributor

No description provided.

@tsundvoll tsundvoll self-assigned this Jun 3, 2024
@tsundvoll tsundvoll added the feature New feature or request label Jun 3, 2024
@tsundvoll
Copy link
Contributor Author

This PR makes it so that instead of starting ISAR with 'python main.py', the application is started with the cli command 'isar'. I suggest the next releast to be a minor bump (1.20.0) to emphasis this change.

Comment on lines +1 to +2
# This file is added for backwards-compability for versions 1.19.2 and older.
# It can be removed in the next minor bump (1.20.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this file is removed the Dockerfile implementation will break as this runs main.py directly. Is there a solution to tell Docker to run this cli command?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is the idea. i want to remove the Dockerfile and image altogether from ISAR and just build it from isar-robot (and the other sup-repos). Those already have isar available as the library and does not need the isar image

Copy link
Contributor

@oysand oysand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@oysand oysand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tsundvoll tsundvoll merged commit 89f70fa into equinor:main Jun 5, 2024
2 checks passed
@tsundvoll tsundvoll deleted the run-from-cli branch June 5, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants