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

bootstrap: fix useless tgz file installation #857

Merged
merged 1 commit into from Mar 20, 2020

Conversation

blankoworld
Copy link
Contributor

While using bootstrap script, it attempts to install TGZ_FILE.
Something like [INFO]: Install RERO-ILS-UI from tgz: appears. But no
file were given.

Co-Authored-by: Olivier DOSSMANN git@dossmann.net

Why are you opening this PR?

Because of #856 issue.

How to test?

Launch pipenv run bootstrap and check that no [INFO]: Install RERO-ILS-UI from tgz: appears.

Then do the same with a TGZ file, for example those from https://github.com/rero/rero-ils-ui/releases/tag/v0.0.12, like :

pipenv run bootstrap -t v0.0.12.tar.gz

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

@blankoworld blankoworld self-assigned this Mar 18, 2020
scripts/bootstrap Outdated Show resolved Hide resolved
scripts/bootstrap Show resolved Hide resolved
scripts/bootstrap Outdated Show resolved Hide resolved
scripts/bootstrap Outdated Show resolved Hide resolved
Copy link
Contributor

@AoNoOokami AoNoOokami left a comment

Choose a reason for hiding this comment

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

Be sure to apply corrections asked by @rerowep at line 61 (bootstrap)

scripts/bootstrap Outdated Show resolved Hide resolved
While using bootstrap script, it attempts to install TGZ_FILE.
Something like `[INFO]: Install RERO-ILS-UI from tgz: ` appears. But no
file were given.

* Fixes rero#856 - by changing `[` tests to `[[` (bash)
* Fixes boostrap script wrong parameters (delete `s` and `b`)

Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
Copy link
Contributor

@AoNoOokami AoNoOokami left a comment

Choose a reason for hiding this comment

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

Working on Ubuntu (simple and with -t parameter)

@blankoworld blankoworld merged commit 39a4913 into rero:dev Mar 20, 2020
@blankoworld blankoworld deleted the doo-#1380-bootstrap-tgz-file branch March 30, 2020 15:11
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

4 participants