forked from canonical/chisel
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: search, load and validates manifests #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 12 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
60320ba
feat: search, load and validates manifests
upils c67c661
fix: revert unintentional change
upils 22ae256
refactor: move things around
upils 6cb437f
refactor: move logic to manifestutil
upils 00825de
feat: validate rootfs with manifest
upils 442bcc6
fix: debugging
upils e19f6f1
fix: improve hardlinks check
upils b6ecc27
feat: trying alternative approach
upils 1406b18
feat: refine first approach
upils 8aba035
refactor: dedicated verify.go
upils 70b2c5e
refactor: rework verify* funcs
upils c8b7a39
fix: typos and inconsistencies
upils 1181871
refactor: improve readability
upils 31f1d3d
refactor: improve consistency
upils df49dfc
style: respect internal best practices
upils f4169b9
style: minor consistency fixes
upils aade454
fix: ignore size check on manifest
upils e0bd4a4
style: apply suggestions
upils 2e572fb
style: apply suggestions
upils 3c5de1c
style: apply suggestions
upils 7eff973
style: apply suggestions
upils b7c7c66
style: apply suggestions
upils c7196e9
fix: apply suggestions
upils 7539db7
refactor: simplify
upils cd22c1f
feat: intermediary representation
upils 27d8645
refactor: simplify existing dir checking
upils 373f3c1
refactor: regroup hardlink-related code
upils 1414990
refactor: refine manifest checking API
upils 2ce5b21
refactor: add obtainManifest
upils 17162f4
refactor: simplify by removing SliceKeys function
upils c21ef34
style: remove redondant comment
upils 77f5771
refactor: rework pathInfos comparison
upils 40ef8e8
refactor: simplify FindPathsInRelease
upils 0a25844
refactor: refine API
upils 71c4496
refactor: simplify based on PR suggestions
upils 4696dcc
style: tweak error messages
upils 089109d
fix: fail if dir inconsistent with manifest
upils 09faa6a
fix: use loaded manifest hash as reference
upils bd7a707
fix: raise error when path should not be hardlinked
upils 3ea70ce
fix: collect and record reference manifest size
upils 3efb7d2
feat: log root directory processing
upils a421818
refactor: more experiment around API design
upils e88de2d
refactor: experiment to improve API
upils acac421
refactor: more refining
upils 0262cb2
refactor: CheckDir in slicer
upils 7445fcd
refactor: add check in slicer
upils 5fca0c5
refactor: simplify and reduce slicer API
upils fb6500b
ci: rerun
upils d7fa155
wip
upils 43e8a71
refactor: cleaning
upils 46d2119
fix: check manifest consistency at selection
upils 164c68b
refactor: return a manifest from inspection
upils 15550ad
refactor: apply PR suggestions
upils 4ecb555
refactor: avoid iterating twice on slices
upils File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.