Modernize repository

Open
#277 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go

Research direction

Start by mapping the current root package, fs, fstest, driver, cmd, and FUSE implementations, then inspect how AtomicWriteFile and the manifest are used. Review the fstest comparisons and fs.FS support before deciding which elements are unused. Done requires an agreed scope for the package moves, removals, deprecations, and preservation focus on overlayfs and erofs.

Written by the indexing model from the issue text.

Description

I propose we clean up unused implementations in this repository and modernize functionality around filesystem testing and preservation.

Proposed changes:

  • Move AtomicWriteFile to fs subpackage, its the only root package export that is used today externally (keep in root as deprecated)
  • Remove unused elements from root package, there is no adoption of the manifest format outside of this package
  • Remove unused cmd and FUSE implementations
  • Update fstest tests to directly implement the comparisons without the manifest and support fs.FS.
  • Deprecate driver subpackage in favor of fs.FS

For preservation, we should focus more on overlayfs and erofs but no specific proposals for adding functionality as part of this. Also note that composefs offers similar functionality to the manifest defined here but utilizing erofs for metadata. This repository should just provide packages for preserving and comparing filesystems without needing to define its own specification.

Dominant language
Go
Stars
155
Forks
77
Avg merge
4d 11h
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/continuity

All issues in containerd/continuity

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.