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

added some rail scripts #30

Merged
merged 8 commits into from
Jun 15, 2023
Merged

added some rail scripts #30

merged 8 commits into from
Jun 15, 2023

Conversation

eacharles
Copy link
Collaborator

@eacharles eacharles commented Jun 14, 2023

I've added a command line rail command and some scripts that do useful things:

(rail-test) PC100868$ rail --help
Usage: rail [OPTIONS] COMMAND [ARGS]...

  RAIL utility scripts

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  clone-source  Install packages from source
  install       pip install rail packages one by one, to be fault tolerant
  render-nb     Render jupyter notebooks

(rail-test) PC100868$ rail clone-source --help
Usage: rail clone-source [OPTIONS]

  Install packages from source

Options:
  --outdir PATH               Output directory.
  --git-mode [ssh|https|cli]  Git Clone mode
  --dry-run                   Dry run only
  --package-file PATH         File with package
  --help                      Show this message and exit.

(rail-test) PC100868$ rail install --help
Usage: rail install [OPTIONS]

  pip install rail packages one by one, to be fault tolerant

Options:
  --outdir PATH        Output directory.
  --dry-run            Dry run only
  --from-source        Install from source
  --package-file PATH  File with package
  --help               Show this message and exit.

(rail-test) PC100868$ rail clone-source --help
Usage: rail clone-source [OPTIONS]

  Install packages from source

Options:
  --outdir PATH               Output directory.
  --git-mode [ssh|https|cli]  Git Clone mode
  --dry-run                   Dry run only
  --package-file PATH         File with package
  --help                      Show this message and exit.

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Patch coverage: 54.47% and project coverage change: +54.83 🎉

Comparison is base (2d2be07) 0.00% compared to head (12da3f1) 54.83%.

Additional details and impacted files
@@            Coverage Diff            @@
##           main      #30       +/-   ##
=========================================
+ Coverage      0   54.83%   +54.83%     
=========================================
  Files         0        3        +3     
  Lines         0      124      +124     
  Branches      0       21       +21     
=========================================
+ Hits          0       68       +68     
- Misses        0       49       +49     
- Partials      0        7        +7     
Flag Coverage Δ
unittests 54.83% <54.47%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/rail/hub/__init__.py 100.00% <ø> (ø)
src/rail/hub/scripts.py 37.34% <37.34%> (ø)
src/rail/hub/options.py 90.00% <90.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@eacharles eacharles merged commit 007877c into main Jun 15, 2023
5 checks passed
@eacharles eacharles mentioned this pull request Jun 15, 2023
@eacharles eacharles deleted the issue/11/scripts branch June 15, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant