Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/release_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,3 @@

### Migrations
-

### Installation
1. Download the `histree.tar.gz` file
2. Extract it: `tar xzf histree.tar.gz`
3. Run the installation: `make install`

If upgrading from a previous version, check if there are any migration steps in the "Migrations" section above.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v0.3.4
### Bug Fixes
- Fixed incorrect URLs in documentation and package references
- Updated GitHub username references from 'ec' to 'fuba'

## v0.3.3
### Features
- **Library Support**: Refactored core functionality into a reusable Go library
Expand All @@ -7,7 +12,7 @@
- **Timezone Handling**: Improved handling of timestamps across different timezones

### API Changes
- Added public library package `github.com/ec/histree-core/pkg/histree`
- Added public library package `github.com/fuba/histree-core/pkg/histree`
- Created stable API for database operations and formatting
- Exported key types and constants for third-party integration

Expand All @@ -19,12 +24,12 @@
### Installation
#### Command-line tool
```bash
go install github.com/ec/histree-core/cmd/histree@latest
go install github.com/fuba/histree-core/cmd/histree-core@latest
```

#### Library
```bash
go get github.com/ec/histree-core
go get github.com/fuba/histree-core
```

## v0.2.0
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ VERSION := $(shell git describe --tags --always --dirty)

all: bin/histree-core

bin/histree-core: cmd/histree/*.go
go build -ldflags "-X main.Version=$(VERSION)" -o bin/histree-core ./cmd/histree
bin/histree-core: cmd/histree-core/*.go
go build -ldflags "-X main.Version=$(VERSION)" -o bin/histree-core ./cmd/histree-core

test:
go test -v ./...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This project was developed with the assistance of ChatGPT and GitHub Copilot.

#### Go Install (recommended)
```sh
go install github.com/fuba/histree-core/cmd/histree@latest
go install github.com/fuba/histree-core/cmd/histree-core@latest
```

#### Building from Source
Expand Down
2 changes: 1 addition & 1 deletion cmd/histree/main.go → cmd/histree-core/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/ec/histree-core/pkg/histree"
"github.com/fuba/histree-core/pkg/histree"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/histree/main_test.go → cmd/histree-core/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/ec/histree-core/pkg/histree"
"github.com/fuba/histree-core/pkg/histree"
)

func setupTestDB(t *testing.T) (*histree.DB, func()) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ec/histree-core
module github.com/fuba/histree-core

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion pkg/histree/histree.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// Version information
const (
Version = "v0.3.3"
Version = "v0.3.4"
)

// OutputFormat defines how history entries are formatted when displayed
Expand Down