Commit graph

308 commits

Author SHA1 Message Date
Gerald Pinder
d6e07f101f Missing / 2024-03-22 22:45:51 -04:00
Gerald Pinder
6e7d531118 Support an image name that has a slash 2024-03-22 22:20:37 -04:00
Gerald Pinder
4695622d1a fix: Don't copy ublue-os key if image key exists 2024-03-22 21:32:13 -04:00
fiftydinar
15e4391436
chore(signing): remove image-info handling from signing module (#173) 2024-03-22 06:48:54 +01:00
gerblesh
04b949a16e fix: remove unused variable 2024-03-21 17:19:43 -07:00
gerblesh
592b72fd93 feat: remove image-info handling from signing module 2024-03-21 14:47:32 -07:00
fiftydinar
2f304f0d71
docs(default-flatpaks): Add current known issues (#171)
I wanted to do this before, but forgot
2024-03-21 11:24:30 +00:00
fiftydinar
d1168a13f1
chore(1password): Remove 1Password-KeyringHelper
https://github.com/blue-build/modules/pull/170
2024-03-20 08:17:15 +01:00
Rain
1c24190588
[1password] Remove 1Password-KeyringHelper
This helper was removed in 1password 8.10.28.

I've managed to deploy this script onto my ublue-derived system, and 1password system auth and browser integration works great.
2024-03-19 20:44:46 -07:00
xynydev
0c4f3d9fcc chore: add codeowners 2024-03-17 13:02:55 +02:00
fiftydinar
7983f09386
feat(script): add snippet support for script module (#124) (#167) 2024-03-17 11:53:19 +01:00
xynydev
a97326fb98 feat(script): add snippet support for script module (#124) 2024-03-17 12:14:23 +02:00
xyny
29649646e3
ci: build and push all branches and other misc workflow changes (#156) (#161)
* chore: cleanup build.yml run conditions

- run on all branches
- no need to run on schedule, since there's nothing external pulled in the image build

* chore: change workflow name

* fix: tag non-main-branch builds correctly

* docs: yafti module explain what yafti is

* ci: fix globs in website rebuild action

* ci: only rebuild website if in official module repository

* ci: fix globs being invalid yaml

* Revert "docs: yafti module explain what yafti is"

This reverts commit 7d5295cd9f9ea7d0f6a45ce227da6d699973cf2f.
2024-03-03 20:14:06 +00:00
xynydev
4cf2273c6c docs(yafti): explain what yafti is 2024-03-03 19:29:03 +02:00
xynydev
0e4f0d45cf docs: add module doc guideline for filepaths 2024-03-02 18:48:48 +02:00
xynydev
394c3d4db5 docs: fill in guidelines for module docs 2024-03-02 18:35:25 +02:00
xynydev
d38046ea6a Revert "Merge branch 'main' into main"
This reverts commit 48dfe2e526, reversing
changes made to dda6d482cd.
2024-02-28 18:08:44 +02:00
xyny
48dfe2e526
Merge branch 'main' into main 2024-02-28 16:06:24 +00:00
fiftydinar
dda6d482cd
feat(systemd): Inform user when systemd units are copied in build logs (#151) 2024-02-26 17:34:33 +00:00
fiftydinar
28ed8ed259
feat(systemd): Add support for including systemd units (#144)
* feat(systemd): Add support for including systemd units

This also gets rid of `files` module dependency & exposes this function better to the users.

Related issue:
https://github.com/ublue-os/bling/issues/143

* fix(systemd): Make included systemd unit check better

It doesn't fail now if there is systemd folder present without any files.

* chore(systemd): Code spacing fixes

* chore(systemd): Disable dotglob, as it's not needed for systemd units

* docs(systemd): Remove inclusion term
2024-02-26 16:55:06 +00:00
Hikari
cf5d0e1750
docs: update link in files module readme (#150)
* chore: update file readme

* fix: broken link due to bad markdown formatting

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-02-26 16:48:55 +00:00
Gerald Pinder
f404e4ed07
docs(akmods): Remove false Containerfile modification info (#147)
Adds info about changing base in recipe instead.
2024-02-25 17:02:34 -05:00
fiftydinar
71333e281a
docs(akmods): Remove -nvidia suffix from surface & asus base entries
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-02-25 22:59:47 +01:00
fiftydinar
4afe394b1a docs(akmods): Remove mention about Fedora version 2024-02-25 22:53:12 +01:00
fiftydinar
d409fe8481 docs(akmods): Remove false Containerfile modification info
Adds info about changing base in recipe instead.
2024-02-25 22:45:28 +01:00
xyny
ace7bddeb8
fix(gschema-overrides): Ditch workaround for trimming newlines (#136)
It is no longer needed, since get_yaml_array uses `readarray -t` command
now instead of regular `readarray`.

It may also fix rare parsing issue some user had (array element looks
fine, but it's still not parsed properly).
Note that this is a speculated issue, not something we're 100% sure of.

Merge this after BlueBuild transition period, since legacy build.sh
doesn't have get_yaml_array fix.
Alternatively, I can define custom get_yaml_array function here, with
note for supporting legacy templates.
2024-02-25 17:55:24 +00:00
xyny
891989586e
Merge pull request #107 from fiftydinar/delete-stuff-containerfile
chore: Don't copy redundant empty "rpms" & "files" folder
2024-02-25 17:49:58 +00:00
fiftydinar
76cb237acc Merge remote-tracking branch 'upstream/main' into gschema-override-newline 2024-02-25 18:36:40 +01:00
fiftydinar
189ecf39d4 Merge remote-tracking branch 'upstream/main' into delete-stuff-containerfile 2024-02-25 18:35:48 +01:00
Gerald Pinder
1e9e942cc3 chore: Update key pair 2024-02-25 11:54:21 -05:00
xyny
52f6bdbfd2
refactor: migration PR 2024-02-25 16:48:55 +00:00
fiftydinar
d3aff69766 Merge remote-tracking branch 'upstream/main' into delete-stuff-containerfile 2024-02-25 14:14:55 +01:00
fiftydinar
3d5533b450 Merge remote-tracking branch 'upstream/main' into gschema-override-newline 2024-02-25 14:13:46 +01:00
fiftydinar
b965a31853 feat(systemd): Add support for including systemd units
This also gets rid of `files` module dependency & exposes this function better to the users.

Related issue:
https://github.com/ublue-os/bling/issues/143
2024-02-25 14:01:16 +01:00
xynydev
e423ce3b68 chore: remove files module documentation 2024-02-25 12:30:42 +02:00
fiftydinar
fec6a76116
chore(default-flatpaks): Obtain flatpak list of apps without runtimes (#142)
Since runtimes are not supported in our module, we don't need them in a flatpak list inside binaries.
2024-02-25 07:41:26 +00:00
fiftydinar
2157b7eb5e
fix(fonts): Module failing with legacy templates (#141)
Issue described here:
https://github.com/blue-build/github-action/issues/16#issuecomment-1961862342
2024-02-24 18:03:10 +00:00
xynydev
0d64b292e6 refactor: move bling copr download, switch to ublue staging copr 2024-02-21 17:59:22 +02:00
xynydev
d0110160ba chore: change the rest of readme urls in module.ymls 2024-02-21 17:38:01 +02:00
xynydev
6762ea6a16 chore: change image name 2024-02-21 17:36:36 +02:00
xynydev
5de929b89c docs: overhaul README.md 2024-02-21 16:50:06 +02:00
xynydev
c6aea9234c chore: replace URLs with ublue-os/bling 2024-02-21 16:39:34 +02:00
fiftydinar
adab64e38e chore(gschema-overrides): Add missing quotes for file variable 2024-02-21 15:09:36 +01:00
fiftydinar
769cd4bf3d fix(gschema-overrides): Ditch workaround for trimming newlines
It is no longer needed, since get_yaml_array uses `readarray -t` command now instead of regular `readarray`.

It may also fix rare parsing issue some user had (array element looks fine, but it's still not parsed properly). Note that this is a speculated issue, not something we're 100% sure of.

Merge this after BlueBuild transition period, since legacy build.sh doesn't have get_yaml_array fix.
Alternatively, I can define custom get_yaml_array function here, with note for supporting legacy templates.
2024-02-21 15:04:12 +01:00
fiftydinar
1d50642f88
fix(akmods): Make check for Surface image more reliable (#134)
Instead of depending on the base image name, it just detects if Linux Surface kernel is installed before installing Surface akmods.
2024-02-19 19:40:44 +00:00
fiftydinar
bfda18d3a2
fix(signing): Use -euo pipefail instead of -oue (#129)
* fix(signing): Use `-eou` pipefail instead of `-oue`

* Update signing.sh
2024-02-12 13:33:30 +00:00
xyny
787f44ece8
ci: trigger website rebuild when module readme changed 2024-02-12 13:32:22 +00:00
fiftydinar
cc25f6970b
docs(akmods): Add notice when builds are failing due to upstream issue (#128)
* docs(akmods): Add notice when builds are failing due to upstream issue

* chore: add missing "a"

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-02-12 13:30:28 +00:00
fiftydinar
1e1197dd0b
refactor(default-flatpaks): Switch to standardized BlueBuild location, implement useful docs into files & make flatpak detection + comparison more robust (#122)
* chore(default-flatpaks): Switch to standardized BlueBuild location

Use

`/usr/etc/bluebuild/default-flatpaks`

location instead of

`/usr/etc/flatpaks`

If possible, we should ideally use this location for system modifications:

`/usr/share/bluebuild/default-flatpaks`

While having user modifications in:

`/usr/etc/bluebuild/default-flatpaks`

But it needs to be figured out how the logic will work for separating system & user modifications this way.

I used this logic in unofficial `initramfs-setup` module & it works well, by merging both system & user files into 1 output.

However, this method can create duplicates if user specified it in it's modification, so I mentioned that user should look if the system entry has modifications they need. Perhaps, array diff can be done, which would circumvent this.

So merge this for start.

Only other module which has potential for migrating to standardized BlueBuild config is yafti (more details in other PR I'll do in some time).

* refactor(default-flatpaks): Make default-flatpaks more robust

Document in detail to user how he can change the config in files itself.

Also document what files do in `/usr/share/bluebuild/default-flatpaks` as well.

Refactor flatpak lists detection to be more reliable by excluding words starting with # symbols, whitelines & duplicate entries. Use `comm` for comparing flatpak list to existing flatpaks output instead of using `grep`, as it's easier to use & it's more reliable.

Separate user's & maintainer's modifications better by utilizing read-only `/usr/share/bluebuild/default-flatpaks` directory for maintainers, while for users we would use `(/usr)/etc/bluebuild/default-flatpaks` directory. Reverting to defaults is more reliable as it would avoid users from touching maintainer's modification directly.

I wouldn't modify repo-info.yml doc content, as we restrict it from user's modification & we wouldn't want to potentially ruin yaml parsing just for that.

Only thing that remains is to test this in a VM. And look to potentially make code cleaner.

* draft(default-flatpaks): Avoid install/remove duplicate loop scenario

I have to figure out this part

* draft(default-flatpaks): Avoid install/remove duplicate loop scenario pt.2

* draft(default-flatpaks): Avoid install/remove duplicate loop scenario pt.3

* fix(default-flatpaks): Avoid install/remove duplicate loop scenario

* chore(default-flatpaks): minor grammar adjustment

* draft(default-flatpaks): Account for scenario...

when user sets the same package in install list that is in maintainer's remove list & vice-versa

* fix(default-flatpaks): Account for scenario when user sets the same package in install list that is in maintainer's remove list & vice-versa

* fix(default-flatpaks): Typo in code for combined install list

* chore(default-flatpaks): Remove unnecessary echo

* chore(default-flatpaks): Make directory for user config

* chore(default-flatpaks): Explain user's vs maintainer's flatpak list situation better

* fix(default-flatpaks): Typo in user's configuration for system flatpaks install

* chore(default-flatpaks): There is no need to mkdir parent folder if child folder is created

* chore(default-flatpaks): Make config organization cleaner

Don't use echos for writing configs, use files instead for easier & more intuitive editing.

* fix(default-flatpaks): Copy notification file properly

Made a mistake in variable name

* docs: README fixes

- don't use ambiguous term "live-user"
- capitalize Flatpak
- grammar and phrasing changes

* docs: grammar and phrasing changes in configuration file docs

- replace "maintainer's config" with "image's default config"
- rewrite flatpak list format explanation

* docs: slightly reword local modification section again

* chore(default-flatpaks): Add a missing newline to system flatpak list

---------

Co-authored-by: xynydev
2024-02-11 09:33:05 +00:00
Tulili
85d3b6b8fd
fix(bling, laptop): QOL Fixes
fixes #123 #78!!
2024-02-09 00:03:07 -03:00