Skip to content
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

Added a note about the automatic handling of the memory spool in the CLI #4117

Merged
merged 1 commit into from
Aug 13, 2014

Conversation

stof
Copy link
Member

@stof stof commented Aug 12, 2014

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets n/a

since symfony/swiftmailer-bundle#64 flushing the memory spool manually is not necessary anymore when using Symfony 2.3+. I added a versionadded note here, but we might decide to remove the obsolete paragraph instead, making the cookbook only about generating urls (which would require renaming the page then)

@wouterj
Copy link
Member

wouterj commented Aug 12, 2014

Fixes #4111

@weaverryan
Copy link
Member

Thanks Stof!��

@weaverryan weaverryan merged commit c99c70d into symfony:2.3 Aug 13, 2014
weaverryan added a commit that referenced this pull request Aug 13, 2014
…pool in the CLI (stof)

This PR was merged into the 2.3 branch.

Discussion
----------

Added a note about the automatic handling of the memory spool in the CLI

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | n/a

since symfony/swiftmailer-bundle#64 flushing the memory spool manually is not necessary anymore when using Symfony 2.3+. I added a versionadded note here, but we might decide to remove the obsolete paragraph instead, making the cookbook only about generating urls (which would require renaming the page then)

Commits
-------

c99c70d Added a note about the automatic handling of the memory spool in the CLI
@stof stof deleted the patch-4 branch August 13, 2014 19:52
@TerjeBr
Copy link
Contributor

TerjeBr commented Aug 13, 2014

I went to http://symfony.com/doc/current/cookbook/console/sending_emails.html but I could not see the sentence "When using Symfony 2.3+ and SwiftmailerBundle 2.3.5+, the memory spool is now handled automatically in the CLI and the code below is not necessary anymore." anywhere on the page. Am I missing something?

@stof
Copy link
Member Author

stof commented Aug 13, 2014

@TerjeBr currently, this is fixed in the 2.3 version of the doc. It is not yet merged into newer versions (the doc maintainers are merging each branch in the newer one on a regular basis so that we don't need to do each commit 4 times to reach all versions).
And even for the 2.3 branch, it is not yet online given that it has been merged only 1 hour ago and the online doc is rebuild only every night.

@TerjeBr
Copy link
Contributor

TerjeBr commented Aug 13, 2014

f40bb24
lead me to belive it was merged already.

But if the online docs are rebuild only every night, and it is not instant, that explains it.

@stof
Copy link
Member Author

stof commented Aug 13, 2014

hmm, indeed, I missed the merge of branches together. So only the second part of my previous comment is relevant

@wouterj
Copy link
Member

wouterj commented Aug 13, 2014

Normally, text changes are rebuild 30 min after the PR is merged, but maybe that's changed.

@TerjeBr
Copy link
Contributor

TerjeBr commented Aug 13, 2014

Is there any reason at all to keep the obsolete paragraph about "Using Memory Spooling"?

@weaverryan
Copy link
Member

Curiously, I still don't see this rendered on the page :/. @javiereguiluz are we still right to assume that things are rebuilt every 30 minutes or so (with full rebuilds for things like totally new entries each night)?

@TerjeBr I think the paragraph is still relevant, because some people may just not be using the new Swiftmailer version yet.

@TerjeBr
Copy link
Contributor

TerjeBr commented Aug 16, 2014

It seems like that when you put this line in front

.. versionadded: 2.3

And then indent it, that paragraph will not show up at all on the page.

@weaverryan The functionality does not depend on the Swiftmailer version, but only on the Symfony version used.

@wouterj
Copy link
Member

wouterj commented Aug 16, 2014

@TerjeBr made me find the error: the classical missing colon. I submitted a fix in #4137

@wouterj
Copy link
Member

wouterj commented Aug 16, 2014

(the text didn't appear on the site, because it was now seen as a comment, since versionadded directives don't allow that empty line)

@TerjeBr
Copy link
Contributor

TerjeBr commented Aug 16, 2014

Glad I could be to some help :)

@wouterj wouterj mentioned this pull request Aug 17, 2014
xabbuh added a commit that referenced this pull request Feb 10, 2016
…ng on CLI (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Console] remove note about memory spool handling on CLI

We added this note a long time ago in #4117, but I think we can now safely remove this part.

Commits
-------

5eff7fd remove note about memory spool handling on CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants