Enable unpack and repack of .deb containers#15345
Enable unpack and repack of .deb containers#15345NikolaMilosavljevic merged 11 commits intodotnet:mainfrom
Conversation
|
Do you have a binlog from an arcade-validation (or some equivalent repo) build with these changes? Wondering if you've done e2e testing and also curious to see what the SignTool output looks like. |
| using System.Data; | ||
| using System.Diagnostics; | ||
| using Microsoft.DotNet.Build.Tasks.Installers; | ||
| using Microsoft.DotNet.Build.Tasks.Installers.src; |
There was a problem hiding this comment.
Can we change the namespaces in the Installers package to remove the .src nested namespace?
There was a problem hiding this comment.
Sure, will do that.
Working on this validation right now. |
|
Binlog from local validation in arcade-validation repo: Debian signing log entries: This is with current |
|
Here's the binlog from signing test that includes the updated Log shows additional entries for this binary, i.e.: |
mmitche
left a comment
There was a problem hiding this comment.
Can you add another test or two that validates that the repacked deb has the expected content?
- Correct checksums/metadata
- Correct files/layout
Otherwise looks great aside from some questions/nits.
Co-authored-by: Matt Mitchell <[email protected]>
Co-authored-by: Jeremy Koritzinsky <[email protected]>
Certainly. Will do. |
Binlog looks great. Thanks for validating that. |
Fixed with 3172fe5 |
|
One test is still failing: At first, this failed due to a missing It is now failing due to a presence of the the signable file, since we're using the same test package for all DEB tests. New DEB package has a signable file, to be able to better test the DEB unpack/repack code. If I put back the old I can add another test DEB package, to be used by this test, but is that the right option? |
Can we have two test deb packages? One called |
Yeah, that is an option. But, we first need to understand why this is failing and if it's a real issue. We don't want to add a test package for the sake of passing a test-case. @mmitche is going to investigate this. |
|
Hmm, not sure why |
|
Two commits were not reviewed so this is still blocked. Checks are now passing. |
Fixes: #14436
This work enables unpack and repack of .deb containers. I've tested this with all current .NET DEB packages.
I've updated
test.debto include a signable file - this makes the DEB test complete.