Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 256379 - permit cvs and svn checkouts to be silent
Summary: permit cvs and svn checkouts to be silent
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 02:25 EST by Nick Boldt CLA
Modified: 2011-03-06 02:10 EST (History)
4 users (show)

See Also:


Attachments
patch to add optional reallyquiet attrib to generated <cvs> tasks (5.77 KB, patch)
2008-11-25 22:16 EST, Nick Boldt CLA
aniefer: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Boldt CLA 2008-11-25 02:25:34 EST
I've tried setting quiet, reallyquiet, and cvs.quiet, and I still get reams of console out for cvs (and svn) checkouts. Can there be a global variable in build.properties (or a better place, if you can suggest one) which can be set to:

* verbose (more output, if there is such a thing)
* normal (current setting)
* quiet (minimal output)
* reallyquiet (no output)

Or if that's overkill, then at least please support a new reallyquiet / silent mode.

See also bug 255991.
Comment 1 Andrew Niefer CLA 2008-11-25 10:52:41 EST
CVS checkouts are done using the ant cvs task which supports quiet and reallyquiet.

Such things are up to the implementation of the fetch extension, so SVN is up to whoever is providing that extension.
Comment 2 Nick Boldt CLA 2008-11-25 12:55:20 EST
Yes. But how do you tell PDE to call <cvs> with reallyquiet="true" ?
Comment 3 Andrew Niefer CLA 2008-11-25 18:18:19 EST
I assumed you couldn't right now and that we need to change the cvs fetch script generator to allow it.

A look at the generated fetch script shows that you should be able to set "cvs.quiet=true" to get the quiet, but there is nothing for reallyquiet
Comment 4 Nick Boldt CLA 2008-11-25 21:43:19 EST
(In reply to comment #3)
> I assumed you couldn't right now and that we need to change the cvs fetch
> script generator to allow it.
> A look at the generated fetch script shows that you should be able to set
> "cvs.quiet=true" to get the quiet, but there is nothing for reallyquiet

I tried setting that globally in build.properties as passed to buildAll.xml and while it DOES work, it reduces the fluff in the log only marginally:

With it set, I still get:

FetchFromCVS:
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/.project
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/build.properties
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/eclipse_update_120.jpg
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/epl-v10.html
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/feature.properties
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/feature.xml
[CVS - org.eclipse.gef/features/org.eclipse.draw2d.sdk-feature] U org.eclipse.draw2d.sdk/license.html

fetch.plugins:

FetchFromCVS:

Without, I get this:

FetchFromCVS:
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] cvs export: Updating org.eclipse.draw2d
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/.project
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/build.properties
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/eclipse_update_120.jpg
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/epl-v10.html
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/feature.properties
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/feature.xml
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/license.html
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] cvs export: Updating org.eclipse.draw2d/rootfiles
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/rootfiles/epl-v10.html
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] U org.eclipse.draw2d/rootfiles/notice.html
[CVS - org.eclipse.gef/features/org.eclipse.draw2d-feature] cvs export: Updating org.eclipse.draw2d/sourceTemplateFeature

fetch.plugins:

FetchFromCVS:

What I'd really like is this:

FetchFromCVS:

fetch.plugins:

FetchFromCVS:

How much work would implementing a cvs.reallyquiet flag be? 
Comment 5 Nick Boldt CLA 2008-11-25 22:16:52 EST
Created attachment 118735 [details]
patch to add optional reallyquiet attrib to generated <cvs> tasks

This is an API change on a couple of inner methods. I'm not sure if that's acceptable; I can add the old syntax back and just assume null values for reallyquiet if you prefer.
Comment 6 Nick Boldt CLA 2008-12-03 16:36:52 EST
I see you've moved stuff around in CVS. Do I need to submit a new patch?
Comment 7 Andrew Niefer CLA 2008-12-03 16:46:24 EST
No, the patch looks to apply ok
Comment 8 Andrew Niefer CLA 2008-12-04 13:54:12 EST
released with minor changes.  Property is "cvs.reallyquiet"