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

Merge master branch into storage-config-ui #1855

Merged
merged 235 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
35b78c4
feature(web): Add IssuesDrawer components
dgdavid Nov 21, 2024
37088af
feature(web) Allow Install button be always visible
dgdavid Nov 21, 2024
2393ed0
feature(web) Use an application drawer to show issues
dgdavid Nov 21, 2024
9cbebd2
feature(web): stop rendering issues at overview page
dgdavid Nov 21, 2024
70e33ff
fix(web): add a temporary fix for drawer body
dgdavid Nov 21, 2024
67ca130
fix(web): drop no longer necessary IssuesLink
dgdavid Nov 21, 2024
1833db9
fix(web): mount the issues drawer always
dgdavid Nov 21, 2024
32474aa
fix(web): drop a not necessary z-index
dgdavid Nov 21, 2024
6ecdceb
fix(web): change text of the disabled Install button
dgdavid Nov 21, 2024
619ba5b
feature(web): unify Install and IssuesDrawerToggle buttons
dgdavid Nov 22, 2024
fdb90d3
doc(web): update changelog
dgdavid Nov 25, 2024
0b1e0db
Apply wording suggestions from code review
dgdavid Nov 25, 2024
67898ea
Merge branch 'master' into always-display-install-button
dgdavid Nov 26, 2024
b86a24d
feat(rust): write scripts in advance
imobachgs Nov 26, 2024
e94ee2a
feat(rust): add an agama-scripts package
imobachgs Nov 26, 2024
c2903e7
feat(rust): add a "scripts.init" section to the profile
imobachgs Nov 26, 2024
c1d5579
chore(rust): fix schema format
imobachgs Nov 26, 2024
db21a62
fix(rust): make all scripts types optional
imobachgs Nov 27, 2024
0734965
fix(rust): execute pre-scripts only once
imobachgs Nov 27, 2024
f88c76c
add initial code for routing to users if there is issue with user
jreidinger Nov 27, 2024
22b4e36
remove trailing spaces
jreidinger Nov 27, 2024
9f3fd52
fix code to properly redirect to users
jreidinger Nov 27, 2024
7067817
runs prettier
jreidinger Nov 27, 2024
aca49a5
make eslint happy
jreidinger Nov 27, 2024
c1013e9
feat(rust): install the agama-scripts packages if needed
imobachgs Nov 27, 2024
3600260
fix(rust): set the path of the org.opensuse.Agama.Software1.Proposal …
imobachgs Nov 27, 2024
764c9d1
feat(web): add specific page for editing root user
dgdavid Nov 27, 2024
a068afb
feat(web): support specifiying title page from route
dgdavid Nov 27, 2024
aef1ffe
fix(web): adjust wording
dgdavid Nov 27, 2024
e721f35
feat(web): move installation issues to a drawer and keep Install butt…
dgdavid Nov 27, 2024
7d73ceb
fix(rust): ScriptRepository::clear removes the files
imobachgs Nov 27, 2024
46bfe82
fix(web) small core/Page internal improvements
dgdavid Nov 27, 2024
040d4de
feat(web): add initial content for RootAuthMethodsPage
dgdavid Nov 27, 2024
eda7a52
Merge branch 'master' into users_mandatory_step
dgdavid Nov 27, 2024
3f4fa4b
feat(web): don't render Install button at root auths path
dgdavid Nov 27, 2024
c39f668
fix(rust): move agama-scripts.sh to /usr/libexec
imobachgs Nov 27, 2024
2312598
Live: less aggressive kernel driver cleanup
lslezak Nov 28, 2024
0094c46
fix(live): Less aggressive kernel driver cleanup (#1790)
lslezak Nov 28, 2024
ac23ae1
doc(rust): update changes file
imobachgs Nov 28, 2024
94113d0
feat(web): make RootAuthMethodsPage work
dgdavid Nov 28, 2024
00da7b3
fix(web): replace passwordEncrypted by encryptedPassword
dgdavid Nov 28, 2024
b0ac195
doc(web): update changes file
dgdavid Nov 28, 2024
bf10992
fix(rust): use encrypted_password instead of password_encrypted
dgdavid Nov 28, 2024
bbd2c1f
refactor(rust): to_script_configs returns an Option
imobachgs Nov 28, 2024
e53ae19
feat(rust): add support for auto-installation "init" scripts (#1788)
imobachgs Nov 28, 2024
f83484b
Refactoring the web translations (#1777)
lslezak Nov 28, 2024
0e61251
doc(web): improve core/Page documentation
dgdavid Nov 29, 2024
62a8a1c
Merge branch 'master' into users_mandatory_step
dgdavid Nov 29, 2024
61422ed
Added command for collecting agama-web-server logs.
mchf Nov 7, 2024
8cf14ab
A command for listing agama related packages with version
mchf Nov 11, 2024
e8b0efe
Do not store command output(s) when empty
mchf Nov 13, 2024
2846105
No need to explicitly set archive root permissions on client side
mchf Nov 13, 2024
82e475a
Do not mask backend errors in "agama logs store"
mchf Nov 13, 2024
ec59615
Formatting is almost perfect now
mchf Nov 14, 2024
0872ac9
Agama's d-bus bus monitoring and error logging
mchf Nov 22, 2024
b62b3c3
Updated changelog
mchf Nov 24, 2024
842d25d
Updated rpm spec
mchf Nov 26, 2024
2e30e9b
Refactoring according to the review
mchf Nov 28, 2024
cc2b7e3
Store journalctl logs even for new agama-dbus-monitor
mchf Nov 28, 2024
93ea0af
fix(web): rewording from code review
dgdavid Nov 29, 2024
a2068d5
fix(web): use camelCase instead of snake_case
dgdavid Nov 29, 2024
f85440d
[rust] improvements in agama logs store (#1762)
mchf Nov 29, 2024
8472a02
fix(web): add translators comment
dgdavid Nov 29, 2024
74078c6
refactor(rust): use an enum-based approach to handle scripts
imobachgs Nov 28, 2024
0d4b956
feat(rust): allow post scripts to run in a chroot
imobachgs Nov 29, 2024
ea7a1c9
feat(rust): update profile schema to support chrooted scripts
imobachgs Nov 29, 2024
e9a907d
feat(rust): post scripts run in a chroot by default
imobachgs Nov 29, 2024
f6d7050
doc(rust): update changes file
imobachgs Nov 29, 2024
fe28059
fix(web): change when root auth page is shown
dgdavid Nov 29, 2024
f3f3796
fix(rust): fix the chroot definition in the schema
imobachgs Nov 29, 2024
077b828
doc(rust): add a post-script example
imobachgs Nov 29, 2024
1d0904e
feat(web): improve RootAuthMethodsPage navigation on submit
dgdavid Nov 29, 2024
3ba3337
refactor(rust): update from code review
imobachgs Nov 29, 2024
ddc8da5
chore(rust): set chroot=true in the example
imobachgs Nov 29, 2024
dc02a50
feat(rust): run postscripts in a chroot (#1792)
imobachgs Nov 29, 2024
5513b2a
fix(web): drop test related to useLocation
dgdavid Nov 29, 2024
be2f6db
doc(web): fix typo
dgdavid Nov 29, 2024
2be718e
Update web translation files
yast-bot Dec 1, 2024
d6ff062
Update service PO files
yast-bot Dec 1, 2024
39e0f35
Update web translation files (#1794)
imobachgs Dec 1, 2024
f83615d
Update service PO files (#1795)
imobachgs Dec 1, 2024
6c09486
doc(web): update changelog files
dgdavid Dec 1, 2024
95e50c6
Merge branch 'master' into users_mandatory_step
dgdavid Dec 1, 2024
1376214
feat(web): request a root authentication method after selecting a pro…
dgdavid Dec 2, 2024
108068c
Try to not crash in auto... with storage section
teclator Nov 29, 2024
0ef1dba
Fix InstallationFinished unit test
teclator Nov 29, 2024
cd07ce6
removed leftover
teclator Dec 1, 2024
f382cf8
Added changelog
teclator Dec 1, 2024
20ca77b
fix(web): Try to not crash in unattended installation because of the …
teclator Dec 2, 2024
7bf7c59
fix(rust): upgrade rustc dependency to 1.81
imobachgs Dec 2, 2024
282e206
docs(rust): update changes file
imobachgs Dec 2, 2024
e67844c
fix(rust): upgrade rustc dependency to 1.81 (#1797)
imobachgs Dec 2, 2024
87cb129
docs: generate OpenAPI spec for scripts
imobachgs Dec 2, 2024
5c98ebe
fix(rust): rename l10::l10n to l10n::model
imobachgs Dec 2, 2024
abecc97
fix(rust): apply Clippy suggestions
imobachgs Dec 2, 2024
6b6083c
Include the same drivers in the Live ISO as the installation-images do
lslezak Dec 2, 2024
2deadf9
Include the same drivers in the Live ISO as the installation-images d…
lslezak Dec 2, 2024
e471cae
docs: Fix broken links after moving content to web site
jeffmahoney Dec 2, 2024
2f4a0f5
feat(ruby): import AutoYaST scripts
imobachgs Dec 2, 2024
4137446
docs(ruby): update changes file
imobachgs Dec 2, 2024
d7ceabb
docs: Fix broken links after moving content to web site (#1799)
imobachgs Dec 3, 2024
f1d6be6
fix(docs): fix the link to the mDNS/Avahi documentation
imobachgs Dec 3, 2024
8d9d003
fix using agama.install_url with equal in param
jreidinger Dec 3, 2024
59cf9c7
fix(docs): fix the link to the mDNS/Avahi documentation (#1802)
imobachgs Dec 3, 2024
d5dee12
fix(docs): fix ScriptsReader tests
imobachgs Dec 3, 2024
af71b85
Disable adjust_by_ram for swap at all products
ancorgs Dec 3, 2024
22b20e0
Changelog
ancorgs Dec 3, 2024
449f5cb
docs: generate OpenAPI spec for scripts (#1796)
imobachgs Dec 3, 2024
d516cc1
Disable adjust_by_ram for swap at all products (#1804)
ancorgs Dec 3, 2024
a17cf7d
fix(live): drop unused xf86 packages
imobachgs Dec 3, 2024
5bd9201
fix: include agama-dbus-monitor in the Ruby package
imobachgs Dec 3, 2024
21b7b89
docs: update changes files
imobachgs Dec 3, 2024
2f3f0bb
fix: drop more xf86 unneeded packages
imobachgs Dec 3, 2024
f19b52a
docs: update changes files
imobachgs Dec 3, 2024
fa9cbee
fix: solve several building issues (#1805)
imobachgs Dec 3, 2024
c0e543e
Merge branch 'master' into import-autoyast-scripts
imobachgs Dec 3, 2024
5a702ae
feat(ruby): import AutoYaST scripts (#1800)
imobachgs Dec 3, 2024
4ab5d98
extend test suite for parsing cmdline
jreidinger Dec 3, 2024
884b102
changes
jreidinger Dec 3, 2024
5a226e1
Merge branch 'master' into fix_install_url
jreidinger Dec 3, 2024
b746d5e
simplify test and explain it
jreidinger Dec 3, 2024
6f87318
fix using agama.install_url with equal in param (#1803)
jreidinger Dec 3, 2024
7b7118c
For SLES for SAP installations change the base_product to SLES-SAP an…
angelabriel Dec 5, 2024
7c4f322
add missing changelog entry for the last SLES for SAP changes related…
angelabriel Dec 5, 2024
552e2e3
Adapt SLES for SAP installation (#1811)
jreidinger Dec 5, 2024
e61fddf
Fixed firmware cleanup script (#1812)
lslezak Dec 5, 2024
ba1c48b
Update web translation files
yast-bot Dec 5, 2024
cfaeae3
Update web translation files (#1814)
mvidner Dec 5, 2024
7722b68
Add Translators section to main README
mvidner Dec 5, 2024
ee50399
service: Workaround for error on s390x
ancorgs Dec 9, 2024
96cb8ac
refactor(web): simplify page to enforce root password
dgdavid Dec 9, 2024
b13551e
Add Translators section to main README (#1815)
mvidner Dec 9, 2024
da780d6
Changelog
ancorgs Dec 9, 2024
6501805
service: Workaround for error on s390x (#1822)
ancorgs Dec 9, 2024
e24a29e
refactor(web): simplify page to enforce root password (#1821)
dgdavid Dec 9, 2024
8fdc719
doc(web): add entry to changes file
dgdavid Dec 9, 2024
6634543
doc(web): add entry to changes file (#1823)
dgdavid Dec 10, 2024
1850d01
Updated config.sh to enable agama-dbus-monitor
mchf Dec 10, 2024
db20c04
fix(web): ensure question are always rendered
dgdavid Dec 10, 2024
84facfc
Updated changelog
mchf Dec 10, 2024
7cbed6d
fix(web): allow Loading using Layout as wrapper
dgdavid Dec 10, 2024
ccc3e34
refactor(web) migrate Loading component to TypeScript
dgdavid Dec 10, 2024
896db95
fix(web): wraps ServerError into a plain layout
dgdavid Dec 10, 2024
70025e3
doc(web): add entry to changelog file
dgdavid Dec 10, 2024
b43af04
fix(web): close issues on section click
dgdavid Dec 10, 2024
96c2eb6
fix(web): ensure question are always rendered (#1825)
dgdavid Dec 10, 2024
8cc2919
fix(web): close issues drawer when users click on a section (#1826)
dgdavid Dec 10, 2024
ec00bee
Add a reference to the changes file
imobachgs Dec 11, 2024
1562b51
Enable agama-dbus-monitor in live iso (#1824)
mchf Dec 11, 2024
14ee1ac
Web: eslint-plugin-agama-i18n renamed to @agama-project/eslint-plugin…
lslezak Dec 11, 2024
37cbbd4
fix(web): eslint-plugin-agama-i18n renamed to @agama-project/eslint-p…
lslezak Dec 11, 2024
ecc8d08
fix(web): does not render questions at login path
dgdavid Dec 11, 2024
c33e2a1
fix(web): add a regresion test for LoginPage
dgdavid Dec 11, 2024
a6478f1
fix(web): mount notification drawer only when accessible
dgdavid Dec 11, 2024
6642756
fix(web): do not render Questions component at login path (#1828)
dgdavid Dec 11, 2024
4ab231a
chore(web): update package dependencies
dgdavid Dec 12, 2024
d96f14d
chore(web): update material-symbols to latest version
dgdavid Dec 12, 2024
712c566
chore(web): update neostandard to latest version
dgdavid Dec 12, 2024
ecaecb7
chore(web): update stylelint-config-standard-scss
dgdavid Dec 12, 2024
271092e
chore(web): update typedoc to its latest version
dgdavid Dec 12, 2024
68f2b7f
chore(web): update TypeScript to latest version
dgdavid Dec 12, 2024
80a2e5d
fix(web): please ESLint by removing some imports dup
dgdavid Dec 12, 2024
aeaae17
fix(rust): follow redirections in Transfer::get
imobachgs Dec 12, 2024
eb6f5b1
chore(web): silent some SCSS deprecation warnings
dgdavid Dec 12, 2024
eb4e3bb
fix(rust): add a module to detect file formats
imobachgs Dec 12, 2024
f338fbd
chore(web): please ESLint by keeping imports first
dgdavid Dec 12, 2024
9e0dbeb
fix(rust): detect the profile format by its content
imobachgs Dec 12, 2024
4532fd1
doc(rust): update changes file
imobachgs Dec 12, 2024
b00e1b1
fix(ci): add Jsonnet for Rust tests
imobachgs Dec 12, 2024
50885f5
Rename "encrypted password" to "hashed password"
lslezak Dec 12, 2024
2c2d188
chore(web): update dependencies 2024-12-12 (#1830)
dgdavid Dec 12, 2024
4cf1626
fix(web): drop typedoc-plugin-external-module-map
dgdavid Dec 12, 2024
643bc03
fix(web): stop using Section in favor of Page.Section
dgdavid Dec 12, 2024
822be64
fix(web): delete core/Section component
dgdavid Dec 12, 2024
e55074f
fix(rust): FileFormat reports read_to_string problems
imobachgs Dec 13, 2024
46ceda3
fix(rust): Transfer::get reports fails on errors
imobachgs Dec 13, 2024
ceaff89
fix(rust): fix shell handling in "profile import"
imobachgs Dec 13, 2024
c3f4f05
Fix unit test
lslezak Dec 13, 2024
b3ea0d7
Integration test - handle the initial root password dialog
lslezak Dec 13, 2024
cae658e
Integration test - handle the initial root password dialog (#1834)
lslezak Dec 13, 2024
1fcd19d
Rename "encrypted password" to "hashed password" (#1833)
lslezak Dec 13, 2024
9ba51f2
Ignore generated OpenAPI data
lslezak Dec 13, 2024
2c49831
Ignore generated OpenAPI data (#1835)
lslezak Dec 13, 2024
34bc000
fix(web): migrate some components to TypeScript
dgdavid Dec 13, 2024
bdd5537
fix(web): please ESLint
dgdavid Dec 13, 2024
a84849c
Revert "ci: disable npm typedoc:component"
dgdavid Dec 13, 2024
eedeb81
Update web translation files
yast-bot Dec 15, 2024
5674c01
Update service PO files
yast-bot Dec 15, 2024
a228134
Update translations in the product files
yast-bot Dec 15, 2024
269356a
Update translations in the product files (#1838)
imobachgs Dec 16, 2024
b22d4bb
Update web translation files (#1836)
imobachgs Dec 16, 2024
6284cbf
Update service PO files (#1837)
imobachgs Dec 16, 2024
5aeaf53
feat(rust): allow using any script in agama.auto
imobachgs Dec 16, 2024
ecbfb32
fix(rust): improve detection of jsonnet files
imobachgs Dec 16, 2024
4aee8fb
fix(web): make TypeDoc works again (#1832)
dgdavid Dec 16, 2024
cb8a56e
doc(rust): explain why 'jsonnet' is not handle as a script
imobachgs Dec 16, 2024
d00fb95
fix(rust): better profile URL handling (#1831)
imobachgs Dec 16, 2024
c45b4e9
Fixed the integration test
lslezak Dec 16, 2024
c53f18a
Storage documentation moved to agama-project.github.io
ancorgs Dec 16, 2024
cbf2df6
Fixed the integration test (#1839)
lslezak Dec 16, 2024
1d7db67
Add additional condition format suggested during review
ancorgs Dec 17, 2024
f2ad0a3
Storage documentation moved to agama-project.github.io (#1841)
ancorgs Dec 17, 2024
fdc5be2
fix(rust): add jsonnet as a BuildRequires dependency
imobachgs Dec 18, 2024
4ae8740
doc(rust): update changes file
imobachgs Dec 18, 2024
703341c
fix(rust): add jsonnet as a BuildRequires dependency (#1842)
imobachgs Dec 18, 2024
9c95297
feat(rust): add logging configuration through the AGAMA_LOG variable
imobachgs Dec 18, 2024
d9db1b0
fix(rust): set zbus level logging to "info"
imobachgs Dec 18, 2024
c68b6bb
doc(rust): update changes file
imobachgs Dec 18, 2024
03dbe3b
Merge branch 'master' into better-logging
imobachgs Dec 18, 2024
327f159
Fixed timeout in the integration test
lslezak Dec 18, 2024
53a4357
feat(rust): add support to configure logging through AGAMA_LOG (#1843)
imobachgs Dec 18, 2024
6749f1c
fix(ci): Fixed timeout in the integration test (#1844)
lslezak Dec 18, 2024
efc5058
fix(rust): several schema validation fixes
imobachgs Dec 19, 2024
f218f49
doc(rust): update changes file
imobachgs Dec 19, 2024
1477848
fix(rust): several schema validation fixes (#1845)
imobachgs Dec 19, 2024
5492568
Add bootloader section to agama config (jsc#AGM-54)
jreidinger Dec 16, 2024
4398045
Merge remote-tracking branch 'origin/master' into bootloader_force_us…
jreidinger Dec 19, 2024
c755042
try to fix ruby tests in CI
jreidinger Dec 19, 2024
81c7a17
remove leftover and fix doc
jreidinger Dec 20, 2024
690d40b
changes
jreidinger Dec 20, 2024
1cca04c
Bootloader force user input (#1840)
jreidinger Dec 20, 2024
1a63357
fix(web): proper handle netmask
dgdavid Dec 20, 2024
ac7c313
doc(web): update changes file
dgdavid Dec 20, 2024
a103f54
fix(web): proper netmask handling (#1847)
ancorgs Dec 20, 2024
06b7d08
storage: add client methods to work with config
joseivanlopez Dec 20, 2024
78938b6
storage: recover config if needed
joseivanlopez Dec 20, 2024
427873a
service: changelog
joseivanlopez Dec 20, 2024
cf131a8
fix(storage): recover config if needed (#1848)
joseivanlopez Dec 20, 2024
7238749
fix reading and writing storage config
jreidinger Dec 23, 2024
5824069
changes
jreidinger Dec 23, 2024
c3d85bb
Fix storage config (#1854)
dgdavid Dec 23, 2024
d955108
Merge branch 'master' into storage_merge_master
ancorgs Dec 26, 2024
967bce3
Merge branch 'master' into storage_merge_master
ancorgs Dec 26, 2024
419d0ba
Rubocop rule does not longer need to be disabled
ancorgs Dec 26, 2024
d377bce
web: Fix Javascript import warning
ancorgs Dec 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
run: zypper --non-interactive install
clang-devel
dbus-1-daemon
golang-github-google-jsonnet
jq
libopenssl-3-devel
openssl-3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: cd web && npm ci

- name: Build Web UI documentation
run: cd web && npm run typedoc:client && mv typedoc.out/ ../doc/dist/web-ui
run: cd web && npm run typedoc && mv typedoc.out/ ../doc/dist/web-ui

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
58 changes: 32 additions & 26 deletions .github/workflows/weblate-merge-po.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
zypper --non-interactive ref

- name: Install tools
run: zypper --non-interactive install --no-recommends git gettext-tools python3-langtable
run: zypper --non-interactive install --no-recommends nodejs npm git gettext-tools python3-langtable

- name: Configure Git
run: |
Expand All @@ -53,61 +53,67 @@ jobs:
path: agama-weblate
repository: ${{ github.repository_owner }}/agama-weblate

- name: Update PO files
- name: Install NPM packages
working-directory: ./agama/web/share/po
run: npm ci

- name: Validate the PO files
working-directory: ./agama-weblate
run: ls web/*.po | xargs -n1 msgfmt --check-format -o /dev/null

- name: Update JS translations
working-directory: ./agama
run: |
mkdir -p web/po
mkdir -p web/src/po
# delete the current translations
find web/po -name '*.po' -exec git rm '{}' ';'
find web/src/po -name '*.js' -exec git rm '{}' ';'

# copy the new ones
mkdir -p web/po
cp -a ../agama-weblate/web/*.po web/po
git add web/po/*.po
# update the list of supported languages, it is used by the PO->JS converter in the next step
web/share/update-languages.py --po-directory ../agama-weblate/web > web/src/languages.json

- name: Validate the PO files
working-directory: ./agama
run: ls web/po/*.po | xargs -n1 msgfmt --check-format -o /dev/null
# rebuild the JS files
(cd web/src/po && SRCDIR=../../../../agama-weblate/web ../../share/po/po-converter.js)

# stage the changes
git add web/src/po/*.js web/src/languages.json

# any changes besides the timestamps in the PO files?
# any changes detected?
- name: Check changes
id: check_changes
working-directory: ./agama
run: |
git diff --staged --ignore-matching-lines="POT-Creation-Date:" \
--ignore-matching-lines="PO-Revision-Date:" web/po > po.diff
git diff --staged web | tee tr.diff

if [ -s po.diff ]; then
echo "PO files updated"
if [ -s tr.diff ]; then
echo "Translations updated"
# this is an Output Parameter
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
echo "po_updated=true" >> $GITHUB_OUTPUT
echo "updated=true" >> $GITHUB_OUTPUT
else
echo "PO files unchanged"
echo "po_updated=false" >> $GITHUB_OUTPUT
echo "Translations not changed"
echo "updated=false" >> $GITHUB_OUTPUT
fi

rm po.diff
rm tr.diff

- name: Push updated PO files
# run only when a PO file has been updated
if: steps.check_changes.outputs.po_updated == 'true'
if: steps.check_changes.outputs.updated == 'true'
working-directory: ./agama
run: |
web/share/update-languages.py > web/src/languages.json
# use a unique branch to avoid possible conflicts with already existing branches
# use an unique branch to avoid possible conflicts with already existing branches
git checkout -b "po_merge_${GITHUB_RUN_ID}"
git commit -a -m "Update web PO files"$'\n\n'"Agama-weblate commit: `git -C ../agama-weblate rev-parse HEAD`"
git commit -a -m "Update web translation files"$'\n\n'"Agama-weblate commit: `git -C ../agama-weblate rev-parse HEAD`"
git push origin "po_merge_${GITHUB_RUN_ID}"

- name: Create pull request
# run only when a PO file has been updated
if: steps.check_changes.outputs.po_updated == 'true'
if: steps.check_changes.outputs.updated == 'true'
working-directory: ./agama
run: |
gh pr create -B master -H "po_merge_${GITHUB_RUN_ID}" \
--label translations --label bot \
--title "Update web PO files" \
--title "Update web translation files" \
--body "Updating the web translation files from the agama-weblate repository"
env:
GH_TOKEN: ${{ github.token }}
4 changes: 2 additions & 2 deletions PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ The Agama packages are available in the
OBS project. These packages are automatically updated whenever the master branch is changed or when
a new version is released.

You can find more details the automatic OBS synchronization in the
[obs_integration.md](doc/obs_integration.md) file.
You can find more details the automatic OBS synchronization at
[obs_integration.md](https://agama-project.github.io/docs/devel/obs_integration).

The process to build each package is slightly different depending on the technology we are using.
While the Ruby-based one (`rubygem-agama-yast`) is built as any other YaST package, the Agama server
Expand Down
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,25 @@ might want to access remotely to the installer. If you know the IP address of th
need to point your browser to `https://$IP`.

For the case you do not know the address, or just for convenience, the Live ISO is configured to use
mDNS (sometimes called Avahi, Zeroconf, Bonjour) for hostname resolution. Therefore, connecting to
`https://agama.local` should do the trick.
[Multicast DNS](https://en.wikipedia.org/wiki/Multicast_DNS) (sometimes called mDNS, Avahi,
Zeroconf, Bonjour) for hostname resolution. Therefore, connecting to `https://agama.local` should do
the trick.

> [!WARNING]
> Do not use the `.local` hostnames in untrusted networks (like public WiFi networks, shared
> networks), it is a security risk. An attacker can easily send malicious responses for the `.local`
> hostname resolutions and point you to a wrong Agama instance which could for example steal your
> root password!

If you have troubles or you want to know more about this feature, check our
[Avahi/mDNS](./doc/avahi.md) documentation.
If you have troubles or you want to know more about this feature, check our [Remote
access](https://agama-project.github.io/docs/user/remote) documentation.

## Other Resources

- If you want to know how Agama works, you should read about
[Agama's architecture](/doc/architecture.md)
[Agama's architecture](https://agama-project.github.io/docs/devel/architecture)
- If you would like to [contribute](#how-to-contribute), you might be interested in:
- [Running Agama from sources](./doc/running.md).
- [Running Agama from sources](https://agama-project.github.io/docs/devel/running).
- [Working with Agama's web server](./rust/WEB-SERVER.md).
- [Working with Agama's web UI](./web/README.md).
- You can check the overall status of the project through the [status page](/STATUS.md).
Expand All @@ -95,3 +96,15 @@ If you want to contribute to Agama, then please open a pull request or report an
get involved in [our discussions](https://github.com/openSUSE/agama/discussions).

For more details, please read the [contributing](CONTRIBUTING.md) guidelines.

### Translators

Thank you for translating Agama to your language!

If something is broken about the translations, see the detailed
[Agama i18n workflow and internals][i18n] documentation.

See also the [openSUSE Translation][trans-ml] mailing list and its archives.

[i18n]: https://agama-project.github.io/docs/devel/i18n
[trans-ml]: https://lists.opensuse.org/manage/lists/translation.lists.opensuse.org/
7 changes: 4 additions & 3 deletions autoinstallation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ approach might sound familiar to AutoYaST users. On the other hand, Agama can ac
shell script, enabling custom pre-installation workflows.

Although Agama defines its own [profile format](../rust/agama-lib/share/profile.schema.json), it is
able to partially handle AutoYaST profiles. Please, check the [AutoYaST support document](../doc/
autoyast.md) for further information.
able to partially handle AutoYaST profiles. Please, check the [AutoYaST support document](
https://agama-project.github.io/docs/user/autoyast) for further information.

## Profile-based installation

Expand Down Expand Up @@ -235,7 +235,8 @@ Using the correct extension in the file name is important:
- `.jsonnet` enables dynamic content through Jsonnet.
- `.json` assumes the profile is just a JSON file, so no dynamic content is expected.
- `.xml`, `.erb` or a trailing slash (`/`) indicates that you want to import an AutoYaST profile.
Check [autoyast.md](../doc/autoyast.doc) for further information.
Check the [AutoYaST support document](https://agama-project.github.io/docs/user/autoyast)
for further information.
- `.sh` would be interpreted as a shell script.

## Caveats
Expand Down
Loading
Loading