Open zdebra opened 4 years ago
The reason is because pkger includes a bunch of metadata (in my opinion completely useless) that can easily change between calls. What you would have to do is hash actual files content instead of whole pkged.go That's how I implemented the same check in my project.
This sounds weird! What are these metadata that are not deterministic?
@Zikoel I see LastAccessTime
for all files, StaleReason
etc.
Hello, I've run into the CLI stability issue.
I am using
pkger
in a project workflow where the pkger output is committed to the repository. Then, I run the Pull Request check to verify that developer run the command before PR was made.The problem is that the output of the
pkger
is not always the same as you can see in the following image:I am sure that
pkger.go
is not a part of/resources
directory. There is just a bunch of static assets in the packaged directory.Do you know what is the issue here? Thank you.