An additional package manager for managing Microsoft apps on Linux distros.
Go to file
TheOnePath 7407ba1084
Added util.py
Provide a bunch of utilities for soypak.

Specify compiled regexes for bottle file parsing.

func@ensure_dir:
	- Will ensure that a directory that exists, and if it doesn't, will
	  create it and any parents. Mode is 0755.
	- From DNF util module.

func@join_path:
	- Will join any number of string paths together and return a new
	  string path.
	- From eopkg util module.

func@rack_bottle:
	- Function will aim to write a new bottle file out to the database
	  (nickname: rack).
	- Either a string representation of a bottle file can be given, or a
	  file descriptor of type TextIOWrapper, can be given as the file
	  pointer:
		- if a TextIOWrapper, ensure that the pointer is at the start of
		  the file to read the contents again.
		- if a string, the contents can be set at this.
	- Detect if there are any comments (useful from translating user
	  defined bottles to be stored - Packages file won't have this). If
	  so, remove them.
	- Ensure that the database rack exists.
	- Create the new filename to be stored.
	- Attempt to open the file in write mode and write the contents to
	  file. Report on the amount of bytes written for clarity.
	- Function returns true if the file was successfully racked. False
	  upon any failures.
2023-08-12 00:17:28 +01:00
assets Added icon logos 2023-07-02 13:46:41 +01:00
soypak Added util.py 2023-08-12 00:17:28 +01:00
.gitignore Initial commit 2023-07-01 21:32:54 +01:00
LICENSE Initial commit 2023-07-01 21:32:54 +01:00
pyproject.toml Added pyproject.toml 2023-07-30 16:43:12 +01:00
README.md Udated README.md 2023-07-30 13:30:15 +01:00
spec.bottle Added spec.bottle 2023-08-11 23:34:51 +01:00

soypak logo

soypak

An additional package manager for managing Microsoft apps on Linux distros.

TODO

  • CLI Parser
  • Logging
  • Error system
  • Translation system (I18N and PO files)
  • CLI UI
  • Package installer
  • Dependency resolver
  • Package Plug-in Manager