Skip to content

Commit a567369

Browse files
committed
Remove deprecated scripts and files, update release process, and add Debian packaging for Lumo CLI assistant
- Deleted the lumo binary and the generate_control.sh script as they are no longer needed. - Updated release.sh to clean previous build artifacts and adjust the changelog date. - Created a new changelog file for version 1.0.1 with initial release notes. - Added control, copyright, and other necessary Debian packaging files. - Implemented installation scripts (postinst, prerm) for proper package management. - Enhanced the rules file to manage build and installation processes. - Added man page for Lumo CLI to provide user documentation. - Included example files and documentation in the Debian package.
1 parent 6b3931a commit a567369

25 files changed

Lines changed: 658 additions & 1030 deletions

File tree

.github/FUNDING.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
# These are supported funding model platforms
2-
3-
github: [agnath18K]
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
12-
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13-
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
1+
github: [agnath18K]

.github/workflows/production-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
BUILD_DATE=$(date +%Y-%m-%d)
5555
GIT_COMMIT=$(git rev-parse --short HEAD)
5656
GO_VERSION=$(go version | awk '{print $3}')
57-
LDFLAGS="-X github.com/agnath18/lumo/pkg/version.Version=${VERSION} -X github.com/agnath18/lumo/pkg/version.BuildDate=${BUILD_DATE} -X github.com/agnath18/lumo/pkg/version.GitCommit=${GIT_COMMIT} -X github.com/agnath18/lumo/pkg/version.GoVersion=${GO_VERSION}"
58-
go build -ldflags "${LDFLAGS}" -o build/lumo cmd/lumo/main.go
57+
LDFLAGS="-X github.com/agnath18K/lumo/pkg/version.Version=${VERSION} -X github.com/agnath18K/lumo/pkg/version.BuildDate=${BUILD_DATE} -X github.com/agnath18K/lumo/pkg/version.GitCommit=${GIT_COMMIT} -X github.com/agnath18K/lumo/pkg/version.GoVersion=${GO_VERSION} -extldflags '-Wl,-z,relro -Wl,-z,now'"
58+
go build -buildmode=pie -ldflags "${LDFLAGS}" -o build/lumo cmd/lumo/main.go
5959
6060
- name: Upload build artifact
6161
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
build/logs/
2-
logs/
1+
# Build artifacts
2+
build/
3+
logs/
4+
*.deb
5+
*.changes
6+
*.buildinfo
7+
*.dsc
8+
*.tar.gz
9+
*.tar.xz
10+
11+
# Debian build artifacts
12+
debian/lumo/
13+
debian/.debhelper/
14+
debian/debhelper-build-stamp
15+
debian/files
16+
debian/*.substvars
17+
debian/*.log
18+
19+
# Go build artifacts
20+
.gocache/
21+
.gopath/
22+
.gocache/

.goreleaser.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ builds:
2424
- -X github.com/agnath18/lumo/pkg/version.BuildDate={{.Date}}
2525
- -X github.com/agnath18/lumo/pkg/version.GitCommit={{.ShortCommit}}
2626
- -X github.com/agnath18/lumo/pkg/version.GoVersion={{.Env.GOVERSION}}
27+
- -extldflags '-Wl,-z,relro -Wl,-z,now'
2728
binary: lumo
29+
flags:
30+
- -buildmode=pie
2831

2932
archives:
3033
- format: tar.gz
@@ -45,9 +48,16 @@ nfpms:
4548
- package_name: lumo
4649
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
4750
vendor: agnath18K
48-
homepage: https://github.com/agnath18K/lumo
51+
homepage: https://github.com/agnath18K/lumo_cli
4952
maintainer: agnath18K <agnath18@gmail.com>
50-
description: AI-powered CLI assistant
53+
description: |
54+
AI-powered CLI assistant
55+
56+
Lumo is an AI-powered CLI assistant in Go that interprets
57+
natural language to execute commands. It helps users find
58+
relevant terminal commands and provides guidance for
59+
terminal tasks. Lumo integrates with Gemini, OpenAI, and
60+
Ollama APIs.
5161
license: MIT
5262
formats:
5363
- deb
@@ -56,8 +66,21 @@ nfpms:
5666
contents:
5767
- src: README.md
5868
dst: /usr/share/doc/lumo/README.md
69+
- src: docs/examples.md
70+
dst: /usr/share/doc/lumo/examples.md
71+
- src: debian/lumo.1
72+
dst: /usr/share/man/man1/lumo.1
73+
- type: dir
74+
src: var/log/lumo
75+
dst: /var/log/lumo
76+
file_info:
77+
mode: 0755
5978
section: utils
6079
priority: optional
80+
deb:
81+
lintian_overrides:
82+
- statically-linked-binary
83+
- changelog-file-missing-in-native-package
6184

6285
checksum:
6386
name_template: 'checksums.txt'

Makefile

Lines changed: 0 additions & 90 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ Lumo is an intelligent CLI assistant that interprets natural language to help yo
4040
### Quick Install
4141

4242
```bash
43-
# From source
44-
git clone https://github.com/agnath18K/lumo_cli.git
45-
cd lumo_cli
46-
make build
47-
sudo make install
4843

4944
# Using pre-built binary (Linux)
5045
curl -L https://github.com/agnath18K/lumo_cli/releases/download/v1.0.1/lumo_1.0.1_linux_amd64.tar.gz -o lumo.tar.gz

build/lumo

741 KB
Binary file not shown.

debian/DEBIAN/control

Lines changed: 0 additions & 13 deletions
This file was deleted.

debian/DEBIAN/prerm

Lines changed: 0 additions & 9 deletions
This file was deleted.

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
lumo (1.0.1-1) unstable; urgency=medium
2+
3+
* Initial release
4+
* AI-powered CLI assistant in Go
5+
* Supports natural language queries
6+
* Integrates with Gemini, OpenAI, and Ollama APIs
7+
* Added 'create:' command for generating projects
8+
9+
-- agnath18K <agnath18@gmail.com> Sat, 17 May 2025 15:07:00 +0530

0 commit comments

Comments
 (0)