home.social

Search

1000 results for “gentoo”

  1. Gentoo Linux on my mini PC: Encrypted root + BTRFS with subvolumes + OpenRC + Limine bootloader. Its a start! ✅

    Distro-hopping now on pause. Month of March is all about Gentoo. Plan is to take this base system and build it up to a lightweight desktop with Wayland + TBD window manager.

    Next up: Learn more about Portage/emerge.

  2. I was going to swap out OpenRC for SystemD for my Gentoo install, but Alpine introduced me to OpenRC and I think I'm going to run with it a bit.

  3. I've been having so much fun exploring Gentoo Linux these past few days! :gentoo:

    I now having a working configuration of Gentoo (in a VM) with a combination of root encryption + BTRFS + OpenRC + Limine bootloader. ✅

    Next up is bare metal install.

    Onward!

  4. today #gentoo wasn't booting
    until I added

    --- a/fsck
    +++ b/fsck
    @@ -42,6 +42,12 @@
     {
     	local fsck_opts= p= check_extra=
     
    +	if true; then
    +		ewarn "Skipping fsck"
    +		sleep 10
    +		return 0
    +	fi
    +
     	if [ -e /fastboot ]; then
     		ewarn "Skipping fsck due to /fastboot"
     		return 0
    to /etc/init.d/fsck

    this is a pure
    #reiserfs #shaming ​:meowcry:​

  5. #gentoo #python #rust

    I wanted to never touch
    #uv in my life

    But...

    Lo and behold, out of nowhere,
    #sigstore wants sigstore-models now
    And
    sigstore-models wants uv-build
    And
    uv-build wants uv

    God damn

  6. Jakiś czas temu zaimplementowałem w #Gentoo wsparcie #SigStore, by móc weryfikować nowe wydania CPythona. Dziś dowiedziałem się, że #PyPI również obsługuje takie "poświadczenia". Tylko jak je weryfikować?

    blog.sigstore.dev/pypi-attesta

    Ten post sugeruje, że na blogu PyPI znajdę "detale istotne dla użytkowników". No więc zajrzyjmy tam.

    blog.pypi.org/posts/2024-11-14

    Tylko informacje o publikowaniu i przeglądaniu ich (a sposób wymieniony tam nie jest właściwą odpowiedzią na pol.social/@mgorny/11405397625), a nie weryfikacji. Szukamy dalej.

    docs.pypi.org/attestations/

    Tylko linki do kilku technicznych specyfikacji, nic przydatnego.

    docs.pypi.org/attestations/con

    O, tu w końcu jest jakiś przykład. Sprawdźmy podlinkowany projekt.

    pypi.org/project/pypi-attestat

    > [!WAŻNE] Ta biblioteka stanowi szczegół implementacji wewnątrz referencyjnej implementacji PEP 740. Większość użytkowników nie musi korzystać z niej bezpośrednio; więcej szczegółów w dokumentacji PyPI. [tłum. własne]

    Tyle że ten link prowadzi do strony ze specyfikacjami! Jak jeszcze trochę pokopiemy, to możemy znaleźć API, które dostarcza nasze "poświadczenie":

    docs.pypi.org/api/integrity/

    No fajno, tylko co z nim zrobić? Przeskoczmy pół godziny wprzód, które zmarnowałem, próbując go użyć. Pokrótce rzecz biorąc, jedyne co pypi-attestations może zrobić jest pobranie interesującego nas pliku i danych "poświadczenia" *wprost z serwera*, i zweryfikowanie go. Więc trzeba używać dodatkowego narzędzia, które dodatkowo zawsze korzysta z Internetu.

    A przynajmniej tak sądzę, bo nie brak wszędzie słów "eksperymentalne", a dokumentacja chyba już gorsza być nie może. No cóż, zgłosiłem prośbę o weryfikację w trybie offline, zobaczymy:

    github.com/trailofbits/pypi-at

    #Python #bezpieczeństwo

  7. W końcu to zrobiłem.

    Trzy lata po otwarciu zgłoszenia, dwa lata po utworzeniu odrębnych paczek "ensurepip" w #Gentoo (używanych przez wbudowany w Pythona moduł venv), w końcu przerobiłem #VirtualEnv, by używało naszych paczek wheel zamiast swojej własnej kopii.

    Co najważniejsze, oznacza to, że VirtualEnv będzie domyślnie używał najnowszych wersji pip, setuptools i wheel, które są dostępne w Gentoo, a my nie będziemy już musieli martwić się kolejną warstwą pośrednią, która instaluje swoje własne wersje paczek, z potecjalnymi dziurami bezpieczeństwa.

    Tyle że w tej chwili VirtualEnv na Gentoo używa starszych wersji pip i setuptools niż normalnie, bo ostatnie wydania były nieudane.

    gitweb.gentoo.org/repo/gentoo.
    bugs.gentoo.org/807643

    #Python

  8. I finally did it.

    Three years after filing the bug, two years after introducing separate "ensurepip" wheel packages in #Gentoo (used by the built-in venv module in #Python), I've finally patched #VirtualEnv to use these wheels instead of their own bundle.

    Most importantly, this means that VirtualEnv will now use the latest version of pip, setuptools and wheel packages found in Gentoo, and we are no longer going to have to worry about another layer of indirection bundling vulnerable packages.

    That said, since the recent releases of pip and setuptools were broken, this also means that VirtualEnv on Gentoo now uses older versions than normally.

    gitweb.gentoo.org/repo/gentoo.
    bugs.gentoo.org/807643

  9. CW: Computer programming on :gentoo:

    I have hacked out a #Gentoo ebuild for the Oxford #Oberon2 Compiler:

    chemoelectric / chemoelectric-overlay / dev-lang / obc — Bitbucket bitbucket.org/chemoelectric/ch

    For the #RosettaCode buffs who program in all the languages except those they hate, and sometimes even in those they hate.

  10. CW: Computer programming on :gentoo:

    I have hacked out a #Gentoo ebuild for the Oxford #Oberon2 Compiler:

    chemoelectric / chemoelectric-overlay / dev-lang / obc — Bitbucket bitbucket.org/chemoelectric/ch

    For the #RosettaCode buffs who program in all the languages except those they hate, and sometimes even in those they hate.

  11. CW: Computer programming on :gentoo:

    I have hacked out a #Gentoo ebuild for the Oxford #Oberon2 Compiler:

    chemoelectric / chemoelectric-overlay / dev-lang / obc — Bitbucket bitbucket.org/chemoelectric/ch

    For the #RosettaCode buffs who program in all the languages except those they hate, and sometimes even in those they hate.

  12. New on blog: "Poetry(-core), or the ultimate footgun"

    """
    I've been complaining about the Poetry project a lot, in particular about its use (or more precisely, the use of poetry-core) as a build system. In fact, it pretty much became a synonym of a footgun for me — and whenever I'm about to package some project using poetry-core, or switching to it, I've learned to expect some predictable mistake. I suppose the time has come to note all these pitfalls in a single blog post.
    """

    blogs.gentoo.org/mgorny/2024/1

    #Gentoo #Python #PEP517 #PythonPoetry

  13. Gentoo Council votes to end IA-64 (Itanium) support following kernel and glibc changes. Learn what's next.
    linuxiac.com/gentoo-linux-to-p

    #gentoo #linux #opensource #itanium

  14. Against all odds, and totally by accident, 32-bit #time_t helps us find another bug. This time, #LibArchive wasn't validating dates in ISO9660, and some garbage data was parsed as random dates.

    github.com/libarchive/libarchi

    #Gentoo

  15. Wbrew wszelkiemu prawdopodobieństwu, i przez zupełny przypadek, 32-bitowe #time_t odkrywa kolejny błąd w kodzie. Tym razem to w #LibArchive brakowało walidacji dat w ISO9660, i bzdurne dane zmieniały się w przypadkowe daty.

    github.com/libarchive/libarchi

    #Gentoo

  16. 3.12 update: I've written a "good enough" patch for that lets us proceed further! There is still some bug that causes a few tests to hang but it doesn't seem to block any of the actual usage I've tested so far.

    foss.heptapod.net/pypy/cffi/-/

  17. @sebsch Either that or a link to the #gentoo or #nixos wikis... also thinking about daring them to give #tinycore a try 🤷‍♂️

  18. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  19. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  20. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  21. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  22. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  23. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  24. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  25. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  26. Wyszły wyniki ankiety dla opiekunów otwartego oprogramowania #Tidelift.

    Co ciekawe, jest tam cytat z mojej ankiety. Zgadniecie który?

    explore.tidelift.com/2024-surv

    #WolneOprogramowanie #Gentoo