-
Notifications
You must be signed in to change notification settings - Fork 24
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
Reproducible output #31
Comments
Sorry for the (very) delayed response! It is entirely my fault. This seems reasonable; feel free to send a pull request. I'll admit that I don't use the XML workflow very often and I've even toyed with the idea of dropping support for it in 1.0 (to focus exclusively on managing filters via the API). It's helpful to know that someone out there still uses it. |
I also use the XML workflow, so I can review the changes before anything gets applied. I would love to see this feature added too. |
I don't think the ID value actually has any meaning to Gmail, so we can probably test out any other value. I don't think I ever actually needed to use
I'd love to hear more feedback on what makes XML output more useful than |
In my case, I use it for diffing. Also, I'm carrying a patch which doesn't sort the entries because I have entries which check for a missing label, so order is important, and that doesn't work with the automatic syncing code. |
I'm very wary of anything having access to my email account. For me, if this tool had required API access I don't think I would have tried it in the first place. |
That's a reasonable concern. For what it's worth, you store all your credentials locally and the application never requests more than the |
Right now, the XML output that's generated contains two different things that differ from invocation to invocation: the ID (due to the use of
hash
) and the timestamp. I like to diff my XML against the previous version to verify the changes, and this adds a lot of diff noise.It would be great if we could have a way to produce reproducible output. I have a branch that replaces the invocation of
hash
with CRC32 and allows the user to set theSOURCE_DATE_EPOCH
environment variable used in reproducible builds to get a fixed timestamp.Assuming this is okay with you, I'd like to submit that branch, unless you're aware of a different way to go about it.
The text was updated successfully, but these errors were encountered: