Libyui REST API

In the previous hack week project I was focused on implementing a REST API for testing the YaST modules.

The major functionality of the REST API has been already implemented, the RPM packages are also available in openSUSE (see the libyui*-rest-api packages). What's missing? The REST API is not available in the openSUSE/SUSE installer. If you would like to test the installation workflow then you would need to build a Driver Update Disk with the REST API packages and all dependencies. That's not trivial and it might be even more complicated for some architectures like s390 or aarch64.

So the goal of this project is to include the packages in the default installer.

Details

OK, we should just add some more packages into the installer? It's not that simple. The libyui REST API is special and a vast majority of users do not need it. Actually it could be a problem because it would take the precious memory which we have during installation. The YaST installer must run even with 512MB memory (keep in mind that the installer itself is running from RAM disk) and with additional packages we might not fit into that limit anymore...

Proposed Solution

The installer allows using extensions, we already do that for the gdb tool. It's not included in the installer by default, if you run the gdb command it will fail.

But you can extend the installation system by calling extend gdb which will download the GDB image and mount it. Then you can use the GDB tool as usually.

We want to have this implemented also for the libyui REST API - by default it won't be included in the installer (saving space) but if needed it could be easily included with the extend libyui-rest-api call.

Looking for hackers with the skills:

libyui rest installation installation-images

This project is part of:

Hack Week 19

Activity

  • about 5 years ago: lslezak started this project.
  • about 5 years ago: lslezak added keyword "libyui" to this project.
  • about 5 years ago: lslezak added keyword "rest" to this project.
  • about 5 years ago: lslezak added keyword "installation" to this project.
  • about 5 years ago: lslezak added keyword "installation-images" to this project.
  • about 5 years ago: lslezak removed keyword libyuirestinstallation-images from this project.
  • about 5 years ago: lslezak added keyword "libyuirestinstallation-images" to this project.
  • about 5 years ago: lslezak originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Resurrect NWS CLI project by seanmarlow

    Project Description

    Many years back I created a simple python based CLI package that wrapped the NWS API to get weather forecasts, discussions and current conditions. Meanwhile I have not had time to keep it up-to-date so many pieces are broken or using deprecated features of the REST API. The package is useful to get weather information much quicker from CLI than clicking through the NWS website.

    Goal for this Hackweek

    The goal for this project is update and fix the package as well as add new features. Also, the documentation can be updated to be more thorough and useful.

    Project URL: https://github.com/smarlowucf/wxcast

    Tasks

    • [x] Use Github actions instead of travis
    • [x] Move metar to nws api
    • [x] Convert string formatting to use F strings
    • [x] Add get WFO info
    • [x] Get a list of stations for wfo
    • [x] Get station info
    • [x] Fix 7 day forecast
    • [x] Add temp unit option to metar
    • [x] Add alias to metar for decoded version with conditions
    • [x] Add/update documentation
    • [x] Release new major version