Skip to content

Commit 99dd681

Browse files
committed
feat(cli): persistent shell attachments, lots of cleanups
1 parent 9dabf66 commit 99dd681

File tree

13 files changed

+290
-111
lines changed

13 files changed

+290
-111
lines changed

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ venv*
2424
MANIFEST
2525
dist/
2626
src/*/*.lock
27+
# Rust
28+
/target
2729

2830
# testing
2931
/*.conf
@@ -51,10 +53,3 @@ Thumbs.db
5153
# local
5254
todo.md
5355
todo.org
54-
55-
56-
57-
58-
# Added by cargo
59-
60-
/target

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[workspace]
22
resolver = "3"
33
members = ["packages/debmagic"]
4+
5+
[workspace.package]
6+
edition = "2024"
7+
rust-version = "1.89"

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
debmagic (0.0.1-alpha1) UNRELEASED; urgency=medium
1+
debmagic (0.0.1-alpha1) forky; urgency=medium
22

33
* WIP: Initial release.
44

debian/rules

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ pkg = package(
2121
preset=[dhp],
2222
)
2323

24+
# TODO: add this section to our rust debmagic module to make setting this up less annoying
2425
os.environ.update({
2526
"PATH": f"/usr/share/cargo/bin:{os.environ['PATH']}",
2627
"CARGO": "/usr/share/cargo/bin/cargo",
27-
"CARGO_HOME": f"{Path.cwd()}/debian/cargo_home",
28-
"CARGO_REGISTRY": f"{Path.cwd()}/debian/cargo_registry",
28+
"CARGO_HOME": f"{pkg.base_dir}/debian/cargo_home",
29+
"CARGO_REGISTRY": f"{pkg.base_dir}/debian/cargo_registry",
2930
"DEB_CARGO_CRATE": f"{pkg.build_env.DEB_SOURCE}_{pkg.build_env.DEB_VERSION_UPSTREAM}"
3031
})
3132

packages/debmagic/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "debmagic"
33
version = "0.0.1-alpha1"
4-
edition = "2024"
54
documentation = "https://debmagic.readthedocs.org"
65
homepage = "https://github.com/SFTtech/debmagic"
76
repository = "https://github.com/SFTtech/debmagic.git"
7+
rust-version.workspace = true
8+
edition.workspace = true
89

910
[dependencies]
1011
clap = { version = ">=4.5.23", features = ["derive"] }

0 commit comments

Comments
 (0)