The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
Go to file
dependabot[bot] 11eb8af0f5
chore(deps): bump byteorder from 1.4.3 to 1.5.0
Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.4.3 to 1.5.0.
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0)

---
updated-dependencies:
- dependency-name: byteorder
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 15:17:09 +00:00
.cargo new structure 2023-09-06 11:47:35 +02:00
.github replace cranky with new clippy 2023-11-24 09:03:04 +01:00
.vscode chore: update Prettier configuration files to use JSON format instead of JavaScript module format 2023-11-28 18:52:02 +01:00
packages chore(deps): bump byteorder from 1.4.3 to 1.5.0 2023-12-04 15:17:09 +00:00
scripts replace cranky with new clippy 2023-11-24 09:03:04 +01:00
.gitignore Lets have some shared VSCode settings 2023-10-31 17:16:30 +01:00
Cargo.lock chore(deps): bump byteorder from 1.4.3 to 1.5.0 2023-12-04 15:17:09 +00:00
Cargo.toml replace cranky with new clippy 2023-11-24 09:03:04 +01:00
package.json Bump @tauri-apps/cli from 1.5.1 to 1.5.6 2023-12-04 14:46:26 +00:00
pnpm-lock.yaml Bump @tauri-apps/cli from 1.5.1 to 1.5.6 2023-12-04 14:46:26 +00:00
pnpm-workspace.yaml new structure 2023-09-06 11:47:35 +02:00
README.md feat: update logging configuration to use LOG_LEVEL environment variable instead of debug feature flag 2023-11-20 09:29:45 +01:00

Development

Prerequisites

see here for the list of software required to build / develope the app.

Setup

Then, make sure to install app dependencies:

$ pnpm install

Run the app

Now you should be able to run the app in development mode:

$ pnpm tauri dev

By default it will not print debug logs to console. If you want debug logs, set LOG_LEVEL environment variable:

$ LOG_LEVEL=debug pnpm tauri dev

Lint & format

Javascript:

$ pnpm lint
$ pnpm format

Rust:

$ cargo clippy   # see linting errors
$ cargo fmt      # format code

Debug

Logs

App writes logs into:

  1. stdout in development mode
  2. Logs directory

Tokio

We are also collecting tokio's runtime tracing information that could be viewed using tokio-console:

  • developlent:
    $ tokio-console
    
  • nightly:
    $ tokio-console http://127.0.0.1:6668
    
  • production:
    $ tokio-console http://127.0.0.1:6667
    

Build

To build the app in production mode, run:

$ pnpm tauri build --features devtools --config packages/tauri/tauri.conf.nightly.json

This will make an asset similar to our nightly build.

Icon generation

$ pnpm tauri icon path/to/icon.png

Release

Building is done via GitHub Action. Go to the link and select Run workflow from the desired branch.

Versioning

When running the release action, you will have to choose one of major, minor, or patch release type. Action will generate a new version based on your input and current version found at https://app.gitbutler.com/releases.

Publishing

To publish a version that you've just build, use Release Manager.