[linuxtools-dev] Hudson build is back to stable : linuxtools-Indigo #424

2012-03-22 Thread hudsonbuild
See 


___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] Linux Tools 0.10.0 release

2012-03-22 Thread Otávio Pontes
The tag v0.10.0 was created. And it is pointing the commit: 
74cab85957757f128f8914b2b6e3e484e7d4e7ea.


___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


[linuxtools-dev] Master freeze over

2012-03-22 Thread Jeff Johnston

The freeze to master repository is over.

-- Jeff J.
___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] API for 1.0

2012-03-22 Thread John Arthorne
Andrew Overholt wrote on 03/21/2012 02:25:42 PM:
> Please take a look at the Javadocs for our nightly build:
> 
>   https://hudson.eclipse.org/hudson/job/linuxtools-master/javadoc/
> 
> There is still a *lot* of API exposed.  If that's intention, great, but
> if not, we need to fix it ASAP.

>From a quick glance, that looks like a code base that doesn't make any 
distinction between API and non-API ;)

The first class I saw in the first package was an Activator, which 
presumably means clients are welcome to stop your bundles whenever they 
feel like it?  Rather than asking "what should we wide", I would suggest 
the default assumption be that all packages are internal and instead ask 
"what should we expose".. ie.., what is actually useful for clients to 
use/extend, unlikely to ever change, etc. Note you don't have to do this 
with package naming conventions like ".internal" if you don't want to. 
Adding x-internal to the bundle manifest and removing it from the 
generated javadoc list helps to make it clear what is meant to be used by 
clients.

For anyone who hasn't seen it, there is a good "API 101" presentation 
here:

http://www.eclipse.org/eclipse/development/apis/Eclipse-APIs-Lines-in-the-Sand.pdf

John___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] API for 1.0

2012-03-22 Thread Aleksandar Kurtakov


- Original Message -
> From: "John Arthorne" 
> To: "Andrew Overholt" , "Linux Tools developer 
> discussions" 
> Sent: Thursday, March 22, 2012 8:48:33 PM
> Subject: Re: [linuxtools-dev] API for 1.0
> 
> 
> Andrew Overholt wrote on 03/21/2012 02:25:42 PM:
> > Please take a look at the Javadocs for our nightly build:
> > 
> > https://hudson.eclipse.org/hudson/job/linuxtools-master/javadoc/
> > 
> > There is still a *lot* of API exposed. If that's intention, great,
> > but
> > if not, we need to fix it ASAP.
> 
> From a quick glance, that looks like a code base that doesn't make
> any distinction between API and non-API ;)

Sadly, you're right - though a lot has been hidden in the last month.

> 
> The first class I saw in the first package was an Activator, which
> presumably means clients are welcome to stop your bundles whenever
> they feel like it? Rather than asking "what should we wide", I would
> suggest the default assumption be that all packages are internal and
> instead ask "what should we expose".. ie.., what is actually useful
> for clients to use/extend, unlikely to ever change, etc. Note you
> don't have to do this with package naming conventions like
> ".internal" if you don't want to. Adding x-internal to the bundle
> manifest and removing it from the generated javadoc list helps to
> make it clear what is meant to be used by clients.

I fully support the all-internal approach and after doing that to the man-page 
and rpmstubby projects they have two exported classes each. In the rpmstubby 
case it even led to simplifying/unifying the codebase. 
But I think that we should use the internal package name convention wherever 
possible to make clear difference and not make the javadoc building more 
complicated. I would even ask for renaming things that are not supposed to be 
api to internal or provisional(if you prefer) and export the package(if you 
have to) and mark as an x-internal. What we have in non internal(provisional) 
packages should really be API.

Alex

> 
> For anyone who hasn't seen it, there is a good "API 101" presentation
> here:
> 
> http://www.eclipse.org/eclipse/development/apis/Eclipse-APIs-Lines-in-the-Sand.pdf
> 
> John
> ___
> linuxtools-dev mailing list
> linuxtools-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
> 
___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] API for 1.0

2012-03-22 Thread Aleksandar Kurtakov
Oh, and one more thing. Please cd into your subproject and run mvn 
javadoc:aggregate. This will print out a number of lines like:
[WARNING] 
/home/akurtakov/git/org.eclipse.linuxtools/lttng/org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/stubs/request/TmfEventRequestStub.java:29:
 warning - @param argument "range" is not a parameter name.

If we're going to be serious for API we need to have proper javadoc that at 
least matches the arguments passed. Note that while having good javadoc is nice 
thing in general it's a must have if you define API. The warnings printed by 
the build are only from the classes exposed. I really encourage the subprojects 
to create a per-project Java Compiler/Errors/warnings configuration and to 
enable more warnings than the defaults especially for these things so more 
people see them and fix them as they do other things.

Clean subprojects from that point of view are: gcov, gprof, man, rpmstubby, 
rpm, perf, valgrind

Alex

- Original Message -
> From: "Aleksandar Kurtakov" 
> To: "Linux Tools developer discussions" 
> Sent: Thursday, March 22, 2012 9:22:54 PM
> Subject: Re: [linuxtools-dev] API for 1.0
> 
> 
> 
> - Original Message -
> > From: "John Arthorne" 
> > To: "Andrew Overholt" , "Linux Tools developer
> > discussions" 
> > Sent: Thursday, March 22, 2012 8:48:33 PM
> > Subject: Re: [linuxtools-dev] API for 1.0
> > 
> > 
> > Andrew Overholt wrote on 03/21/2012 02:25:42 PM:
> > > Please take a look at the Javadocs for our nightly build:
> > > 
> > > https://hudson.eclipse.org/hudson/job/linuxtools-master/javadoc/
> > > 
> > > There is still a *lot* of API exposed. If that's intention,
> > > great,
> > > but
> > > if not, we need to fix it ASAP.
> > 
> > From a quick glance, that looks like a code base that doesn't make
> > any distinction between API and non-API ;)
> 
> Sadly, you're right - though a lot has been hidden in the last month.
> 
> > 
> > The first class I saw in the first package was an Activator, which
> > presumably means clients are welcome to stop your bundles whenever
> > they feel like it? Rather than asking "what should we wide", I
> > would
> > suggest the default assumption be that all packages are internal
> > and
> > instead ask "what should we expose".. ie.., what is actually useful
> > for clients to use/extend, unlikely to ever change, etc. Note you
> > don't have to do this with package naming conventions like
> > ".internal" if you don't want to. Adding x-internal to the bundle
> > manifest and removing it from the generated javadoc list helps to
> > make it clear what is meant to be used by clients.
> 
> I fully support the all-internal approach and after doing that to the
> man-page and rpmstubby projects they have two exported classes each.
> In the rpmstubby case it even led to simplifying/unifying the
> codebase.
> But I think that we should use the internal package name convention
> wherever possible to make clear difference and not make the javadoc
> building more complicated. I would even ask for renaming things that
> are not supposed to be api to internal or provisional(if you prefer)
> and export the package(if you have to) and mark as an x-internal.
> What we have in non internal(provisional) packages should really be
> API.
> 
> Alex
> 
> > 
> > For anyone who hasn't seen it, there is a good "API 101"
> > presentation
> > here:
> > 
> > http://www.eclipse.org/eclipse/development/apis/Eclipse-APIs-Lines-in-the-Sand.pdf
> > 
> > John
> > ___
> > linuxtools-dev mailing list
> > linuxtools-dev@eclipse.org
> > https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
> > 
> ___
> linuxtools-dev mailing list
> linuxtools-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
> 
___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Re: [linuxtools-dev] API for 1.0

2012-03-22 Thread John Arthorne
Aleksandar Kurtakov wrote on 03/22/2012 03:22:54 PM:
> I fully support the all-internal approach and after doing that to 
> the man-page and rpmstubby projects they have two exported classes 
> each. In the rpmstubby case it even led to simplifying/unifying the 
codebase. 
> But I think that we should use the internal package name convention 
> wherever possible to make clear difference and not make the javadoc 
> building more complicated. I would even ask for renaming things that
> are not supposed to be api to internal or provisional(if you prefer)
> and export the package(if you have to) and mark as an x-internal. 
> What we have in non internal(provisional) packages should really be API.

Personally I completely agree with you on the internal package naming. I 
know opinions vary though, and the idea of renaming all your packages can 
be daunting, so I wanted to throw out lighter weight options. In Eclipse 
project we have used "provisional" in package names in the past, for APIs 
that were nearly done but not 100% ready. We have been moving away from 
that mainly because of the pain it causes the early adopters when we 
rename a package to remove provisional that would have otherwise stayed 
the same. Again, there are different opinions out there on this - the most 
important thing is documenting whatever your convention is so downstream 
consumers know what to expect.

John___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


[linuxtools-dev] Hudson build became unstable: linuxtools-master #762

2012-03-22 Thread hudsonbuild
See 


___
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev