-
Notifications
You must be signed in to change notification settings - Fork 73
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
Chunking supported? #158
Comments
Good point that this should be supported natively. It was on my mind already, as it doesn't seem hard to do but I never actually implemented it. |
PR #165 should be the solution for this problem. It can split a couple of filter types:
These two cases are split into multiple filters in chunks of 20 operators. The limit is pretty arbitrary, but it should be small enough to work and big enough to go unnoticed to users with filters that worked so far. @skyzyx Let me know if this works for you. |
Thank you. Happy to try it out shortly! 👍🏻 |
I didn't see build instructions in the README, nor did I see a CONTRIBUTING guide. But I did find mkdir -p bin
cd cmd/gmailctl
go build -o ../../bin/ ./...
cd ../../
bin/gmailctl --help It appears to have worked. At least — it shows me the help text. But after running
I hadn't changed anything since I first set this up with the latest release. Re-running Did I miss an upgrade step somewhere? |
For building the binary from sources:
This is the standard way of building a Go binary. Good point that there's no mention of it anywhere though. Regarding the API error, if my memory doesn't fail me, it could be because you changed the password or invalidated the token in some other way. You can try resetting it:
|
I've actually run into some weird, esoteric issues when running Fixing my credentials resolved the issue. Thanks! Feature appears to work wonderfully. Makes managing these long lists of domains much easier. |
I have very long lists of
{from: …}
blocks. The longest one is over 200 entries. While the Gmail API accepts this, clicking on edit in the UI (so that I can apply to existing emails) presents an alert that the rule is too long.Is there a way to chunk the list? For example, in chunks of 75. 200 entries in chunks of 75 would create three rules with entries:
This would simplify maintenance so that I could keep the one long list, but the software (or configuration) can deal with chunking across multiple rules.
The text was updated successfully, but these errors were encountered: