• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 8063180523
72%

Build:
DEFAULT BRANCH: master
Ran 27 Feb 2024 10:30AM UTC
Jobs 3
Files 689
Run time 32s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Feb 2024 10:23AM UTC coverage: 74.682% (+0.4%) from 74.279%
8063180523

push

github

web-flow
Add a l10n service to the web-based API (#1047)

## Problem

This PR aims to implement a `l10n` API in the web-based API. Its design
could be the base for other services.

Dropping the D-Bus interface is out of scope. 

## Tasks

- [x] Export the list of locales
- [x] Export the list of keymaps
- [x] Export the list of timezones
- [x] Allow setting the locale
- [x] Allow setting the keymap
- [x] Allow setting the timezone
- [x] Allow setting the UILocale
- [x] Read current configuration (locale, keymap, timezone)
- [x] Read the UILocale
- [ ] Write all changes or nothing (let's postpone when we drop the
D-Bus API as it will be easier).
- [x] Emit a signal when UILocale changes
- [x] Add unit tests
- [x] Add some integration test
- [x] Initialize the locales properly
- [x] More compact output (partially done; let's work on that when we
start working in the web UI).
- [x] Enable compression

## Screenshots

![emitting
events](https://github.com/openSUSE/agama/assets/15836/01f3c3cf-bcf9-4cf4-95d5-787d02b7a380)

## Links

Trello:
https://trello.com/c/sjR61cpk/3556-5-expose-the-l10n-api-over-http

1476 of 2256 branches covered (65.43%)

Branch coverage included in aggregate %.

16833 of 22260 relevant lines covered (75.62%)

22.9 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 8063180523.1 27 Feb 2024 10:30AM UTC 78
44.34
GitHub Action Run
1 web 8047881580.1 26 Feb 2024 11:12AM UTC 295
73.66
GitHub Action Run
1 service 7975321865.1 20 Feb 2024 02:48PM UTC 316
85.22
GitHub Action Run
Source Files on build 8063180523
  • Tree
  • List 689
  • Changed 24
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8063180523
  • fc05c323 on github
  • Prev Build on master (#8047881580)
  • Next Build on master (#8064806432)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc