Coder Social home page Coder Social logo

orhun / alpkg Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 2.0 8.93 MB

Set up Alpine Linux packaging environment with a breeze! 🏔

Home Page: https://blog.orhun.dev/alpine-packaging-setup/

License: MIT License

Shell 100.00%
alpine alpine-linux alpine-package-builder alpine-packaging chroot chroot-environment packaging packaging-scripts packaging-tool

alpkg's Introduction

Hey!

I'm Orhun, a Rust aficionado with a strong passion for all things open source. I love writing command-line tools.

pgp views


Ever since I joined GitHub 7 years ago, I pushed 23832 commits, opened 401 issues, submitted 976 pull requests, received 16161 stars across 115 personal projects, and contributed to 168 public repositories.

Here is a list of my personal projects:

Rust Bash, Zig, C, Go, Python, Kotlin, Java, JS
git-cliff - A highly customizable changelog generator
kmon - Linux kernel manager and activity monitor
systeroid - A more powerful alternative to sysctl
gpg-tui - Terminal user interface for GnuPG
rustypaste - A minimal file upload/pastebin service
menyoki - A tool for performing image operations on the command line
runst - A dead simple notification daemon for Linux
halp - A tool to get help with CLI tools
daktilo - Turn your keyboard into a typewriter
arch-repro-status - A tool for checking the reproducibility status of Arch Linux packages
godsays - Rust port of the Terry Davis' (RIP) "god says" program
battleship-rs - Battleship game implemented in Rust
ratatui-splash-screen - A Ratatui widget to turn any image to a splash screen
CoolModFiles - A web player that plays some cool MOD files randomly
linuxwave - A tool for generating music from the entropy of Linux
kermit - A VTE-based, simple and froggy terminal emulator
zps - A small utility for listing and reaping zombie processes
alpkg - A tool for setting up an Alpine Linux packaging environment
pkgtop - Interactive package manager and resource monitor for Linux
grapheneX - Automated system hardening framework
HydropotX - Automated and self-contained hydroponics system
k3pler - Android network connection blocker and packet analyzer
RTLion - Multipurpose RTL-SDR framework for RTL2832 based DVB-T receivers
rtl_map - A FFT-based visualizer for RTL-SDR devices
Picasso - PIC16F877A based 5V/20MHz development board and PIC programmer
dotfiles - /home/orhun/

Tip: Run ssh git.orhun.dev to browse my repositories on your terminal.

>_ Also, I am actively working on Ratatui (a Rust library for creating TUIs) - where we work towards building the future of the terminal!

I maintain packages for and Alpine Linux and Arch Linux btw. Check out my dotfiles here. I regularly write blog posts about topics that pique my interest. For all my latest updates, follow me on X/Mastodon. If you have job-related inquiries, please don't hesitate to connect with me on LinkedIn.

If you want to support my work, consider sponsoring me! 💖

~ orhun.dev

✨ Sponsored by:

Terminal Trove

alpkg's People

Contributors

f0086 avatar orhun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

doytsujin f0086

alpkg's Issues

terminals other than bash not supported

If I set my terminal to something other than bash (zsh in my case), a alpkg edit ... results in an empty terminal pane. The SHELL environment variable should be set fixed to bash in order to work on all systems.

Alpha

Look ahead for some Alpha that's the love on being in Web 3

Support `abuild-rootbld`

See abuild-rootbld.

At first try, I got a bunch of errors:

fatal: not a git repository (or any of the parent directories): .git
>>> ERROR: zps: rootbld: /home/orhun/apkbuilds/zps/apkbuilds/.rootbld-repositories does not exist
  • rootbld expects a git repository (most likely aports)
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
bwrap: Creating new namespace failed: Operation not permitted

Further investigation is needed.

alpkg update ignores other files

If there are other files in the package besides the APKBUILD file, these files are ignored and not part of the git commit. The alpkg script should git add * from the package folder, not onlyt the APKBUILD file.

Failed to deserialize KDL node

I'm trying to follow the documentation step by step, and the tool successfully created the chroot, cloned my fork of the aports repo and loaded my existing keys. Great! I then tried alpkg fetch bazel6 which failed halfway through with:

  × Failed to parse Zellij configuration
   ╭─[/home/strophy/apkbuilds/pkg-edit-layout.yml:1:1]
 1 │ # https://zellij.dev/old-documentation/layouts.html
   · ─┬
   ·  ╰── Failed to deserialize KDL node. 
Possible reasons:
- Missing `;` after a node name, eg. { node; another_node; }
- Missing quotations (") around an argument node eg. { first_node "argument_node"; }
- Missing an equal sign (=) between node arguments on a title line. eg. argument="value"
- Found an extraneous equal sign (=) between node child arguments and their values. eg. { argument="value" }
 2 │ tabs:
   ╰────
  help: For more information, please see our configuration guide: https://zellij.dev/documentation/configuration.html

Is this a configuration error or has something changed? The file exists and seems to contain some YML config for Zellij. Removing the comment at the beginning results in the same error on a different line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.