Commit graph

56 commits

Author SHA1 Message Date
daimond113
ff5c2e5d61
refactor: specify many new clippy lints
Adds quite a lot of Clippy lints which fit with my
personal taste for how pesde's codebase should
look like. Stylistic lints are mostly warns, and
behavioural lints are mostly denied.
2025-03-08 22:00:52 +01:00
daimond113
7ad4c6f5c6
chore: fix clippy lints 2025-02-03 15:52:24 +01:00
daimond113
6ae16a7dac
feat: add list and remove commands
Fixes #22.
2025-02-02 15:23:10 +01:00
daimond113
b30f9ecdeb
feat: cas pruning
Squashed commit of the following:

commit 82b4b858e5
Author: daimond113 <contact@daimond113.com>
Date:   Sat Feb 1 00:46:31 2025 +0100

    feat: remove unused directories when purging cas

    Now purging the CAS will also clean up unused
    folders. Additionally, since concurrent removal
    of directories seems to throw a PermissionDenied
    error on Windows those are ignored. Needs
    investigation on why that happens.

commit 75d6aa5443
Author: daimond113 <contact@daimond113.com>
Date:   Fri Jan 31 23:24:11 2025 +0100

    feat: finish prune command implementation

    The prune command now discovers packages in the
    CAS, removes individual unused files and then
    packages which use those files, since that means
    they're unused.

commit 333eb3bdd9
Author: daimond113 <contact@daimond113.com>
Date:   Sun Jan 26 23:30:52 2025 +0100

    chore: fix clippy lint

commit a38da43670
Author: daimond113 <contact@daimond113.com>
Date:   Sun Jan 26 23:02:52 2025 +0100

    feat: add cas pruning command

    Removes unused files from the CAS. Still needs to
    remove individual package index entries to be
    complete.
2025-02-01 00:51:43 +01:00
daimond113
95896091cd
refactor: switch out dependencies
Switches the `colored` crate to the `console`
crate. Additionally, to optimize the compiled
program's size switches the `inquire` crate's
backend from `crossterm` to `console`. Console was
picked out because we depend on `indicatif` which
only supports `console`.

Also switches from `winreg` to `windows-registry`,
which `reqwest` depends on to optimize size even
further. Currently has to duplicate dependencies,
as `reqwest` depends on an older version but will
become optimized once `reqwest` updates to the
latest version of the crate.

Signed-off-by: daimond113 <contact@daimond113.com>
2025-01-19 22:29:27 +01:00
daimond113
325453450b
feat: add deprecating & yanking 2025-01-09 22:09:28 +01:00
daimond113
0ceb2f6653
style: enable hard_tabs rustfmt option 2025-01-02 22:37:27 +01:00
daimond113
9bf2af6454
fix: compile without feature flags
Some checks are pending
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2025-01-02 15:41:29 +01:00
daimond113
d0169976cd
feat: store dependency over downloaded graphs 2025-01-01 16:28:53 +01:00
daimond113
6a8dfe0ba3
feat: switch to flat graph handling
Some checks are pending
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2025-01-01 00:34:21 +01:00
daimond113
2700fe9e07
feat: remove data redundancy for workspace pkg refs 2024-12-30 19:06:53 +01:00
daimond113
c3d2c768db
feat: add path dependencies
Fixes #13
2024-12-30 18:33:48 +01:00
daimond113
2aeee9de34
feat: add override by alias support 2024-12-29 22:31:06 +01:00
Luka
a41d9950f8
feat: better install (#17)
Some checks are pending
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
* feat: better install

* feat: support progress reporting for wally

* chore: remove tracing-indicatif

* chore: fix Cargo.toml

* fix: indentation in bin link script

* fix: spinner tick chars

* feat: change progress message color

* fix: remove pretty from fmt_layer

Co-authored-by: dai <72147841+daimond113@users.noreply.github.com>

* style: format code

---------

Co-authored-by: dai <72147841+daimond113@users.noreply.github.com>
2024-12-27 22:04:47 +01:00
daimond113
52603ea43e
feat: switch to tracing for logging
Some checks are pending
Test & Lint / lint (push) Waiting to run
2024-12-16 23:00:37 +01:00
daimond113
0fa17a839f
feat: support using workspace root as a member 2024-12-08 12:15:30 +01:00
daimond113
ac74c57709
feat: add scripts packages 2024-12-07 15:08:52 +01:00
daimond113
a067fbd4bd
fix: correctly resolve peer dependencies 2024-11-22 15:52:54 +01:00
daimond113
4866559025
chore: optimize exe size in release mode 2024-11-17 23:02:54 +01:00
daimond113
1369fe990b
feat: display packages in progress bars 2024-11-10 18:08:59 +01:00
daimond113
d490c0a6f3
feat: continue change to async 2024-11-10 16:43:25 +01:00
daimond113
2b0f29a2f9
feat: begin switch to async 2024-11-05 20:44:24 +01:00
daimond113
09820e322c
refactor: use fs-err for fs operations 2024-11-01 20:57:32 +01:00
daimond113
c7c1daab36
feat: improve auth system for registry changes 2024-10-14 19:40:02 +02:00
daimond113
b3f0a3cbfb
fix: handle missing revision properly 2024-10-13 15:18:05 +02:00
daimond113
15df417472
feat: allow full version reqs in workspace spec version field 2024-10-13 14:13:21 +02:00
daimond113
fa00a97f8b
feat: publish members when publishing workspace 2024-10-12 16:00:21 +02:00
daimond113
962482962b
feat: support multitarget workspace members 2024-10-06 23:49:59 +02:00
daimond113
2b6a731ea9
feat: add version management flag 2024-09-29 00:37:38 +02:00
daimond113
702153d81b
feat: proper update command 2024-09-04 19:48:37 +02:00
daimond113
d321b8b0aa
feat: add PESDE_ROOT for bin packages 2024-09-03 23:08:08 +02:00
daimond113
71eacb8673
feat: support adding workspace packages 2024-09-03 18:19:01 +02:00
daimond113
30c9be8366
feat: implement token overrides 2024-08-12 22:28:37 +02:00
daimond113
7267dc2300
feat: support adding git dependencies with the cli 2024-08-11 20:08:27 +02:00
daimond113
09307276b0
feat: implement execute command 2024-08-11 17:27:51 +02:00
daimond113
ea887e56ef
feat: implement utility commands 2024-07-28 21:08:35 +02:00
daimond113
97b6a69688
fix: update binary when upgrading 2024-07-28 18:34:24 +02:00
daimond113
37cc86f028
feat: content addressable storage 2024-07-28 18:19:54 +02:00
daimond113
7f8b2761ab
feat: self managed versioning 2024-07-26 18:47:53 +02:00
daimond113
0fcddedad6
feat: support binary scripts in PATH 2024-07-25 16:32:48 +02:00
daimond113
986196ac67
refactor: use gix urls in more places 2024-07-24 13:19:20 +02:00
daimond113
f0cd53a2c9
refactor: add debug messages 2024-07-24 00:53:34 +02:00
daimond113
5661194721
feat: implement patching 2024-07-23 16:37:47 +02:00
daimond113
d4371519c2
feat: multithreaded dependency downloading 2024-07-23 01:20:50 +02:00
daimond113
2898b02e1c
feat: implement multi target packages 2024-07-22 23:16:04 +02:00
daimond113
14463b7205
feat: implement dependency overrides 2024-07-22 22:00:09 +02:00
daimond113
67d662939f
feat: use lockfile + transition to toml 2024-07-22 19:40:30 +02:00
daimond113
d81f2350df
feat: roblox sync config script 2024-07-22 16:41:45 +02:00
daimond113
fdad8995a4
feat: implement dependency resolver and lune scripts 2024-07-14 15:19:15 +02:00
daimond113
b73bf418c5
feat: begin rewrite 2024-07-13 00:09:37 +02:00