FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Restrict size of emails · Issue #184 · git-commit-notifier/git-commit-notifier · GitHub

Repository navigation

Restrict size of emails #184

Open
Open

Description

Our maillist server rejects emails larger than 200kB. Can you add an options that mails get truncated after a certain amount of data?

Activity

  1. akzhan commented on Jun 4, 2013

    Member

    We have

    # Set limit on maximum number of lines per file diff
    lines_per_diff: 300
    
    # Show file list only when too many files
    too_many_files: 50

    options.

  2. akzhan commented on Jun 4, 2013

    Member

    we can add option to eliminate too long lines if needed.

  3. ericberberich commented on Jun 4, 2013

    Author

    Still not sure whether this suffices:

    lines_per_diff * too_many_files * maximal_length_of_line + css + html overhead < 200KB

    Most lines will be shorter than max_length, still we would prefer a way of setting a local maximum, and the other parameter got derived.

    E.g. 200KB - 10kb (??) for css divided by number of files results in space usable per file - which is filled with lines until full.

  4. spMohanty commented on Jul 2, 2013

    @Allesok :: This(spMohanty@198a2fd) is something, I developed to have a bit more control over the size of the email, you could use it if you like.
    This gives you another parameter to put an upper limit on the auto-generated content, viz. the HTML, and the plaintext diffs.
    And the rest of the content is pretty static always, the templates you use, your stylesheets, so you will have an estimate, about how much you want the auto-generated content to grow.
    That will still need some work though, in the way it handles the HTML, but I will b pushing more code very soon, for the HTML trimming thing to be more smooth and less noticable.

  5. alinagrigoras commented on Mar 28, 2014

    I subscribe to this. In our project we use 2 major branches that we merge from time to time.
    The email limit for us is 10MB but in case of a major merge this is not enough.
    The max number of files and diff is enabled.

    Thank you
    Alina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL