Commit graph

6 commits

Author SHA1 Message Date
5189ebe7bb
refactor: remove duplicate write function in db
All checks were successful
/ test (pull_request) Successful in 40s
/ lint (pull_request) Successful in 42s
Remove the original 'Write' function from the db package and rename the
'WriteMany' function to 'Write' as it can already write one or many Bolt
items to the database.

Also update the test suites and add more coverage in the board package.
2024-01-23 18:31:01 +00:00
dbb37a1060
refactor: a lil bit of refactoring
Changes:

- Rename the UI type to App.
- Rename NewUI() to NewApp().
- Move init functions to internal/ui/ui.go.
- Call app's initialisation function from main.
- Move the keymapping functionalities to internal/ui/keymappings.go.
- Add documentation for updateColumn() and updateAllColumns().
- Applied gofmt.

Also:

- Build(mage): optionally include -a and/or -v during go build.
2024-01-14 13:46:42 +00:00
fcb148d583
build: install pelican with mage
- Add an install mage target for installing pelican.
- Display the app's version information using the version flag.
2024-01-10 07:38:54 +00:00
fc5fa7b0ca
feat(BREAKING): specify project path
All checks were successful
/ test (pull_request) Successful in 28s
/ lint (pull_request) Successful in 37s
This PR allows users to specify the path to the database file
Pelican now expects the user to specify the path to the project's
database file which allows users to open different projects.

This is a breaking change because Pelican no longer opens the
default path automatically. If no path is set then Pelican stops
with an error message.
2023-12-12 12:47:58 +00:00
155dab0918
chore: project maintenance
Some checks failed
/ test (pull_request) Successful in 28s
/ lint (pull_request) Failing after 3m41s
Changes:

- Changed README from Markdown to Asciidoc
- Updated go.mod and go.sum
- Updated magefiles for CI
- Added workflow for Forgejo Actions
2023-12-12 10:05:25 +00:00
b983f8930e
feat: add the pelican project 2023-05-06 12:49:40 +01:00