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

Invalid storage device handling #488

Merged
merged 8 commits into from
Mar 22, 2023
Merged

Invalid storage device handling #488

merged 8 commits into from
Mar 22, 2023

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Mar 21, 2023

Problem

Solution

Improved yupdate support

  • Allow optionally skipping update of the DBus backend or the web fronend
  • Set environment variable YUPDATE_SKIP_FRONTEND=1 or YUPDATE_SKIP_BACKEND=1 to skip the frontend or backend update
  • YUPDATE_SKIP_FRONTEND=1 can be used when you use the webpack development server for running the web frontend, in that case updating the web frontend does not make sense, it just takes long time and consumes additional
    disk/RAM space
  • YUPDATE_SKIP_BACKEND=1 was added mainly as a complement just in case somebody needs to handle the opposite case

Testing

  • Added a new unit test
  • Tested manually

Screenshots

dinstaller_invalid_device

- Allow optionally skipping update of the DBus backend or the web fronend
- Set environment variable YUPDATE_SKIP_FRONTEND=1 or YUPDATE_SKIP_BACKEND=1
  to skip the frontend or backend update
- YUPDATE_SKIP_FRONTEND=1 can be used when you use the webpack development
  server for running the web frontend, in that case updating the web frontend
  does not make sense, it just takes long time and consumes additional
  disk/RAM space
- YUPDATE_SKIP_BACKEND=1 was added mainly as a complement,
  just in case somebody needs to handle the opposite case
@coveralls
Copy link

coveralls commented Mar 21, 2023

Coverage Status

Coverage: 75.533% (-0.02%) from 75.553% when pulling 902a3d2 on invalid_device_handling into f289c70 on master.

Rakefile Show resolved Hide resolved
doc/yupdate.md Outdated Show resolved Hide resolved
doc/yupdate.md Outdated Show resolved Hide resolved
lslezak and others added 2 commits March 22, 2023 09:41
Co-authored-by: David Díaz <1691872+dgdavid@users.noreply.github.com>
@lslezak lslezak merged commit ec7c5bd into master Mar 22, 2023
@lslezak lslezak deleted the invalid_device_handling branch March 22, 2023 09:07
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