Skip to content

Commit

Permalink
Merge pull request #84 from chaqchase/feat/features-and-improvements
Browse files Browse the repository at this point in the history
features and improvements and fixes
  • Loading branch information
chaqchase authored Jan 4, 2025
2 parents 88481de + 6ade137 commit c73d44d
Show file tree
Hide file tree
Showing 59 changed files with 4,060 additions and 1,568 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,17 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact_name: lla-linux-amd64
pkg_formats: "deb,rpm,apk,pacman"
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
artifact_name: lla-linux-arm64
cross_compile: true
pkg_formats: "deb,rpm,apk,pacman"
- os: ubuntu-latest
target: i686-unknown-linux-gnu
artifact_name: lla-linux-i686
cross_compile: true
pkg_formats: "deb,rpm,apk,pacman"

# macOS builds
- os: macos-latest
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact_name: lla-linux-amd64
pkg_formats: "deb,rpm,apk,pacman"
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
artifact_name: lla-linux-arm64
cross_compile: true
pkg_formats: "deb,rpm,apk,pacman"
- os: ubuntu-latest
target: i686-unknown-linux-gnu
artifact_name: lla-linux-i686
cross_compile: true
pkg_formats: "deb,rpm,apk,pacman"

# macOS builds
- os: macos-latest
Expand Down Expand Up @@ -197,13 +200,18 @@ jobs:
with:
path: artifacts

- name: Create themes archive
run: |
find themes -name "*.toml" -type f | zip themes.zip -@
- name: Generate SHA256 checksums
run: |
cd artifacts
for artifact in */*; do
sha256sum "$artifact" >> ../SHA256SUMS
done
cd ..
sha256sum themes.zip >> SHA256SUMS
- name: Create Release Notes
run: |
Expand Down Expand Up @@ -245,5 +253,54 @@ jobs:
gh release upload "v${{ needs.check_release.outputs.current_version }}" "$asset" --clobber
done
# Upload themes archive
gh release upload "v${{ needs.check_release.outputs.current_version }}" themes.zip --clobber
# Upload checksums
gh release upload "v${{ needs.check_release.outputs.current_version }}" SHA256SUMS --clobber
package:
needs: [check_release, build]
if: needs.check_release.outputs.should_release == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: artifacts

- name: Install nFPM
run: |
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh
- name: Generate packages
run: |
VERSION="${{ needs.check_release.outputs.current_version }}"
for artifact in artifacts/*; do
if [[ $artifact == *linux* ]]; then
# Generate DEB package
nfpm pkg --packager deb --target "$artifact/lla_${VERSION}_amd64.deb"
# Generate RPM package
nfpm pkg --packager rpm --target "$artifact/lla-${VERSION}-1.x86_64.rpm"
# Generate APK package
nfpm pkg --packager apk --target "$artifact/lla-${VERSION}-r0.apk"
# Generate Pacman package
nfpm pkg --packager archlinux --target "$artifact/lla-${VERSION}-1-x86_64.pkg.tar.zst"
fi
done
- name: Upload packages
uses: actions/upload-artifact@v3
with:
name: packages
path: |
**/*.deb
**/*.rpm
**/*.apk
**/*.pkg.tar.zst
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.9] - 2025-01-04

### Added

- New file management plugins:

- `file_copier`: Clipboard-based file copying functionality
- `file_mover`: Clipboard-based file moving operations
- `file_remover`: Interactive file and directory removal
- `file_organizer`: File organization with multiple strategies (extension, date, type, size)

- Enhanced theme system:

- New `LlaDialoguerTheme` for consistent UI styling
- Additional customization options for symbols and padding
- New theme management commands: `theme pull` and `theme install`
- Improved theme integration across all plugins

- Improved search capabilities:
- Enhanced fuzzy matching functionality
- Optimized `SearchIndex` for better search operations

### Documentation

- A new documentation website is available at [lla.chaqchase.com](https://lla.chaqchase.com)

### Changed

- Standardized capitalization of 'lla' across documentation
- Enhanced release workflow with package generation
- Improved plugin documentation and installation instructions
- Integrated `lla_plugin_utils` across plugins for better consistency

### Fixed

- Coloring issue for icons in the tree format

## [0.3.8] - 2024-12-21

### Added
Expand Down
67 changes: 64 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ members = ["lla", "lla_plugin_interface", "lla_plugin_utils", "plugins/*"]
[workspace.package]
description = "Blazing Fast and highly customizable ls Replacement with Superpowers"
authors = ["Achaq <[email protected]>"]
version = "0.3.8"
version = "0.3.9"
categories = ["utilities", "file-system", "cli", "file-management"]
edition = "2021"
license = "MIT"
keywords = ["ls", "file-system", "cli", "file-management"]
repository = "https://github.com/triyanox/lla"
repository = "https://github.com/chaqchase/lla"

[workspace.dependencies]
clap = "3.2.25"
Expand Down
Loading

0 comments on commit c73d44d

Please sign in to comment.