Skip to content

Commit

Permalink
spkg v1.6.0 - Changelogs in Description
Browse files Browse the repository at this point in the history
* -- spkg v1.6.0 -- *
- (Important) We're changing our package build system to our new PKGBUILD-System (spkg-pbs)
- (Important) New Codebase, Data Structure, Package- and Repository Structure. Older Versions of spkg are now discontinued and no longer work
- (Important) spkg uses now a new directory for the databases. (/var/lib/spkg/)
- (New) New release variables
- (New) Complete new modular-system for spkg (defs-system)
- (New) Completly new package build scripts
- (New) spkg lists now the packages in alphabetic order
- (New) New Database Sync system with multiple repository support
- (New) Check Mark when something passed (e.g. package db synced successfully)
- (New) New Text-Displaying for the install function
- (New) Updated the spkg installer for use with the new package build system
- (Package-related) Support for drivers added (Beta)
- (Package-related) Update for package groups
- (Package-related) Package Subdirectories/Categories, e.g. drivers/rtw89
- (Package-related) 5 main package branches, main, community, unstable and git 
- (Package-related) Ported almost all package to the new build system
- (Package-related) Remove function for the python*-packages (currently untested/beta)
- (Package-related) New package cdn (core-cdn)
- (Package-related) Removed the spkg-bin Package because it's slower and unstable
- (Optimization) Much more code comments and documentation 
- (Optimization) Much more modular code 
- (Optimization) Python Object Classes for many functions
- (Optimization) CLI-Design update
- (Optimization) Added build date for *Release Types* "rc", "beta" and "alpha"
- (Optimization) Print a warning if user configuration folder doesn't exist
- (Fix) Better formatting
- (Fix) Fixed bug not showing package information when arch equals all
- (Fix) Fixed a translation bug for the Missing Permissons String in the english language
- (Fix) Fixed a typo for "Synchronisiert" 
- (Fix) Fixed now showing "Installing some base packages" in sandbox plugin when debug mode is not enabled
- (Backend) Many fixes and better handling for almost everything
- (Backend) Flag for selecting using the ./data as the data directory (Development only!)
- (Backend) Moved plugin_daemon.py to the src Directory
- (Backend) Optimization of the error in case of an incorrect language configuration
- (Backend) Repomgr Update (1.0.1)
- (Backend) Sandbox Update (1.3.0) (Fixes, New Design, Comments, etc)
- (Code) Added License information header to every source files

* -- Known Issues -- *
- (Issue) -
  • Loading branch information
Juliandev02 authored May 29, 2023
1 parent 76bdc3f commit 2fe0391
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- (Optimization) Python Object Classes for many functions
- (Optimization) CLI-Design update
- (Optimization) Added build date for *Release Types* "rc", "beta" and "alpha"
- (Optimization) Print a warning if user configuration folder doesn't exist
- (Fix) Better formatting
- (Fix) Fixed bug not showing package information when arch equals all
- (Fix) Fixed a translation bug for the Missing Permissons String in the english language
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# **Advanced Source Package Managment (spkg)**
![spkg - v1.6.0-rc5](https://img.shields.io/badge/spkg-1.6.0--rc5-success)
![spkg - v1.6.0](https://img.shields.io/badge/spkg-1.6.0-success)
![Code Size](https://img.shields.io/github/languages/code-size/Juliandev02/spkg)
![Commit activity](https://img.shields.io/github/commit-activity/w/Juliandev02/spkg)
![License](https://img.shields.io/github/license/Juliandev02/spkg)
Expand Down
4 changes: 2 additions & 2 deletions defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
from sys import exit

# Base Variables
version = "1.6.0-rc5"
version = "1.6.0"
date = "20230529"
release_type = "rc"
release_type = "stable"
alpha = False
hbp = False
dev_local = False
Expand Down
Binary file modified package.db
Binary file not shown.
10 changes: 7 additions & 3 deletions spkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@

language = spkg_cfg_data['language']

# Check if user config path exists
if not os.path.exists(f"{home_dir}/.config/spkg"):
os.mkdir(f"{home_dir}/.config/spkg")

# If language is either "de" and "en", print Error Message
if not language in ["de", "en"]:
Expand Down Expand Up @@ -109,6 +106,7 @@
UpgradeNotAsRoot = f"{Fore.RED + Colors.BOLD}[!]{Fore.RESET} Führe Upgrades nicht mit Root durch. Dies könnte die Installation des Paketes manipulieren!{Colors.RESET}"
ReinstallNotAsRoot = f"{Fore.RED + Colors.BOLD}[!]{Fore.RESET} Führe Neuinstallationen nicht mit Root durch. Dies könnte die Installation des Paketes manipulieren!{Colors.RESET}"
SearchingWorldForPackage = f"{Colors.BOLD}Durchsuche lokale World Datenbak nach installierten Paket ...{Colors.RESET}"
UserConfigNotExists2 = f"{Fore.YELLOW + Colors.BOLD}Warnung:{Fore.RESET + Colors.RESET} Deine Nutzerkonfiguration existiert nicht. Versuche, Konfigurationsordner zu erstellen ..."


# Language Strings for English
Expand Down Expand Up @@ -156,6 +154,7 @@
UpgradeNotAsRoot = f"{Fore.RED + Colors.BOLD}[!]{Fore.RESET} Do not perform upgrades with root. This could manipulate the installation of the package!{Colors.RESET}"
ReinstallNotAsRoot = f"{Fore.RED + Colors.BOLD}[!]{Fore.RESET} Do not perform reinstallations with root. This could manipulate the installation of the package!{Colors.RESET}"
SearchingWorldForPackage = f"{Colors.BOLD}Searching through the local world database for the installed package ...{Colors.RESET}"
UserConfigNotExists2 = f"{Fore.YELLOW + Colors.BOLD}Warning:{Fore.RESET + Colors.RESET} Your user configuration does not exist. Try to create the configuration folder ..."


# Help Function for English Language
Expand Down Expand Up @@ -234,6 +233,11 @@ def help_de():
print(PackageDatabaseNotSynced)
exit()

# Check if user config path exists
if not os.path.exists(f"{home_dir}/.config/spkg"):
print(UserConfigNotExists2)
os.mkdir(f"{home_dir}/.config/spkg")


# * --- Build Function --- *
if len(sys.argv) > 1 and sys.argv[1] == "build":
Expand Down

0 comments on commit 2fe0391

Please sign in to comment.