Skip to content

Commit

Permalink
Cargo.toml: rename crate to 'composefs'
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonkarlitskaya committed Nov 6, 2024
1 parent 3c08b48 commit f16671e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "composefs_experiments"
name = "composefs"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2021"
Expand Down Expand Up @@ -28,5 +28,5 @@ zstd = "0.13.2"
opt-level = 3

[lib]
name = "composefs_experiments"
name = "composefs"
path = "src/lib.rs"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# composefs experiments in rust
# composefs-rs

This is a set of experiments exploring ideas around how to structure an on-disk
[composefs](https://github.com/containers/composefs) repository.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/cfsctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;
use anyhow::Result;
use clap::{Parser, Subcommand};

use composefs_experiments::{oci, repository::Repository, util::parse_sha256};
use composefs::{oci, repository::Repository, util::parse_sha256};

/// cfsctl
#[derive(Debug, Parser)]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/composefs-pivot-sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::path::Path;

use anyhow::{bail, Result};

use composefs_experiments::{fsverity::Sha256HashValue, repository::Repository};
use composefs::{fsverity::Sha256HashValue, repository::Repository};

fn parse_composefs_cmdline(cmdline: &[u8]) -> Result<Sha256HashValue> {
// TODO?: officially we need to understand quoting with double-quotes...
Expand Down
2 changes: 1 addition & 1 deletion src/bin/mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::path::PathBuf;

use clap::Parser;

use composefs_experiments::mount::MountOptions;
use composefs::mount::MountOptions;

/// mount a composefs
#[derive(Parser, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion tests/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{fmt::Write, fs::create_dir_all, path::PathBuf};
use anyhow::{Context, Result};
use sha2::{Digest, Sha256};

use composefs_experiments::{oci, repository::Repository};
use composefs::{oci, repository::Repository};

fn append_data(builder: &mut tar::Builder<Vec<u8>>, name: &str, size: usize) -> Result<()> {
let mut header = tar::Header::new_ustar();
Expand Down

4 comments on commit f16671e

@cgwalters
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you still taking the task of merging in the original dumpfile code or any other code from the previous repo?

@allisonkarlitskaya
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I got distracted by the selinux fun today, though :)

@allisonkarlitskaya
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the filtered branch I managed to produce yesterday: https://github.com/containers/composefs-rs/commits/composefs-origin/

I'm having some difficulty merging it in to the existing code. I'll try again tomorrow.

@cgwalters
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK let me know if I can help!

Please sign in to comment.