Commit Graph

405 Commits

Author SHA1 Message Date
Nikita Galaiko
c62adb4531 handle git network errors 2023-11-22 15:05:06 +01:00
Nikita Galaiko
104a401400 refactor: change debug log to info log for project push status 2023-11-22 14:22:27 +01:00
Nikita Galaiko
b4f67aaa7a
Merge pull request #1664 from gitbutlerapp/all-refs
Just push all refs
2023-11-22 14:08:15 +01:00
Nikita Galaiko
3e08e60bf1 set actual time 2023-11-22 13:46:42 +01:00
Nikita Galaiko
78d2944476 push default_target, not head 2023-11-22 13:38:44 +01:00
Nikita Galaiko
9e7a6379fe use refname where possible 2023-11-22 12:20:07 +01:00
Nikita Galaiko
229745b721 rename branch to refname 2023-11-22 10:33:31 +01:00
Nikita Galaiko
af9b9c465b categorize git network error 2023-11-22 09:29:12 +01:00
Scott Chacon
65928d78b8 just push all refs 2023-11-21 15:18:10 -08:00
Nikita Galaiko
372f60189b
Merge pull request #1663 from gitbutlerapp/delete-empty-branches
delete empty branches
2023-11-21 14:36:43 +01:00
Nikita Galaiko
43fda60c25 on unapply, delete empty branches 2023-11-21 14:29:58 +01:00
Nikita Galaiko
6b14c71ed2
Merge pull request #1660 from gitbutlerapp/fix-repo-usage
fix repo usage
2023-11-21 14:00:05 +01:00
Nikita Galaiko
8b730cc267 always call odb create 2023-11-21 13:51:37 +01:00
Nikita Galaiko
0eac6f96be make sure to use project repo 2023-11-21 13:51:18 +01:00
Nikita Galaiko
7c4af4e86a
Merge pull request #1647 from gitbutlerapp/dependabot/cargo/tracing-0.1.40
chore(deps): bump tracing from 0.1.37 to 0.1.40
2023-11-21 13:16:44 +01:00
Nikita Galaiko
fe1b12b3f7
Merge pull request #1648 from gitbutlerapp/dependabot/cargo/bstr-1.8.0
chore(deps): bump bstr from 1.7.0 to 1.8.0
2023-11-21 13:16:38 +01:00
dependabot[bot]
07b9189b8c
chore(deps): bump tracing from 0.1.37 to 0.1.40
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.37 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.40)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 12:01:09 +00:00
Nikita Galaiko
21a22ed4a4
Merge pull request #1650 from gitbutlerapp/dependabot/cargo/slug-0.1.5
chore(deps): bump slug from 0.1.4 to 0.1.5
2023-11-21 13:00:28 +01:00
Nikita Galaiko
145a6cc12b
Merge pull request #1646 from gitbutlerapp/dependabot/cargo/uuid-1.6.1
chore(deps): bump uuid from 1.5.0 to 1.6.1
2023-11-21 13:00:15 +01:00
Nikita Galaiko
fb469d411b rm dead code 2023-11-21 12:42:15 +01:00
Nikita Galaiko
b889bbc560
Merge pull request #1658 from gitbutlerapp/fix-vbranch-limit
fix vbranch limit
2023-11-21 10:21:02 +01:00
Nikita Galaiko
6ffb711710 fix: allow to send vbranches more often 2023-11-21 10:16:50 +01:00
Nikita Galaiko
282d5517db do not import gitbutler/integration 2023-11-21 10:09:21 +01:00
Nikita Galaiko
47a7c93dad make wathcher handlers async 2023-11-21 09:30:49 +01:00
dependabot[bot]
5c84add6df
chore(deps): bump slug from 0.1.4 to 0.1.5
Bumps [slug](https://github.com/Stebalien/slug-rs) from 0.1.4 to 0.1.5.
- [Commits](https://github.com/Stebalien/slug-rs/compare/v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: slug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:27:52 +00:00
dependabot[bot]
c27735d9a0
chore(deps): bump bstr from 1.7.0 to 1.8.0
Bumps [bstr](https://github.com/BurntSushi/bstr) from 1.7.0 to 1.8.0.
- [Commits](https://github.com/BurntSushi/bstr/compare/1.7.0...1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:26:57 +00:00
dependabot[bot]
2ca649fe3d
chore(deps): bump uuid from 1.5.0 to 1.6.1
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:26:07 +00:00
Nikita Galaiko
22104885b0 fix virtual branches lock
separating controllers by project_id allows to avoid app-wide lock
2023-11-20 16:17:22 +01:00
Nikita Galaiko
52d34afe3f allow only one flush handler 2023-11-20 15:18:13 +01:00
Nikita Galaiko
383d5a3bb5 feat: update logging configuration to use LOG_LEVEL environment variable instead of debug feature flag 2023-11-20 09:29:45 +01:00
Kiril Videlov
6abf22089b chore: remove unused import and simplify code in project_flush_and_push function 2023-11-17 19:10:39 +01:00
Kiril Videlov
6728116d2c feat: add event posting for session and push project to Gitbutler 2023-11-17 19:10:39 +01:00
Nikita Galaiko
007d3783b8 ignore submodules when diffing 2023-11-17 15:09:43 +01:00
Nikita Galaiko
e05c30ca60 add submodules tests 2023-11-17 14:47:08 +01:00
Nikita Galaiko
e874d6ce6f chore: remove unused bookmark functionality and related code 2023-11-17 12:32:20 +01:00
Nikita Galaiko
3f7cb92598 minor refactor 2023-11-17 10:24:35 +01:00
Nikita Galaiko
763d346196
Merge pull request #1611 from gitbutlerapp/sort-branches-by-order
vbranch errors
2023-11-17 10:15:16 +01:00
Nikita Galaiko
4aee982dfb refactor virtual branch errors 2023-11-17 09:55:47 +01:00
Kiril Videlov
964b8c361c refactor: simplify rate limiter initialization in Handler struct 2023-11-16 16:19:28 +01:00
Kiril Videlov
42652d9655 chore: refactor Handler struct initialization and add unnecessary_wraps lint allow 2023-11-16 16:19:28 +01:00
Kiril Videlov
14841d9848 feat: add rate limiting to throttle events in the Handler's handle method 2023-11-16 16:19:28 +01:00
Kiril Videlov
9a4f5cb3ab chore: update file change listener to use the session handler instead of the project file change handler 2023-11-16 16:19:28 +01:00
Kiril Videlov
606fbf8384 chore: refactor project file change handler to simplify code and remove unnecessary dependencies 2023-11-16 16:19:28 +01:00
Kiril Videlov
d12d647ba9 refactor: simplify payload assignment in Event struct 2023-11-16 15:51:29 +01:00
Kiril Videlov
b23169fc92 chore: update emit_vbranches function signature to accept a reference to AppHandle instead of value 2023-11-16 12:30:28 +01:00
Kiril Videlov
d7306d4cd9 feat: add event emission for virtual branches after certain actions to keep UI in sync 2023-11-16 12:30:28 +01:00
Nikita Galaiko
4164907245 log which session is failed to flush 2023-11-15 13:55:59 +01:00
Nikita Galaiko
4eabae9f76
Merge pull request #1608 from gitbutlerapp/update-debouncer-timeout
Update debouncer timeout
2023-11-15 10:50:12 +01:00
Nikita Galaiko
2a1723cb8c set file watch debouncer to 10ms 2023-11-15 10:45:32 +01:00
Nikita Galaiko
182449b0f1
Merge pull request #1607 from gitbutlerapp/handle-binary-hunks
Handle binary hunks
2023-11-15 10:42:16 +01:00