fer626 / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Empty Oauth2Scopes #443

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-api-java-client.googlecode.com/hg/apis/oauth2/v2/com/googl
e/api/services/oauth2/Oauth2Scopes.html

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

If a Google API has no scopes it generated an empty XScopes file.  Instead, it 
should just not generate that file.  See Oauth2Scopes for example.

Original issue reported on code.google.com by yan...@google.com on 28 Mar 2012 at 7:30

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 16 May 2012 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 30 May 2012 at 10:04

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 14 Jul 2012 at 11:24

GoogleCodeExporter commented 9 years ago
The code generation framework does not support this and will have to be 
extended to support it. Deferring to next release.

Original comment by rmis...@google.com on 15 Aug 2012 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 8 Oct 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Temporarily assigning it to Jacob.

Hi Jacob,

Is it possible to not generate a file based on a template value? If not can 
this capability be added to the codegen layer?

Original comment by rmis...@google.com on 15 Oct 2012 at 3:45

GoogleCodeExporter commented 9 years ago
It should be possible.  There is already provision when walking the template 
tree for specifying a file filter to exclude some files.  ApiLibraryGenerator 
doesn't make use of this right now when generating library source, but it would 
be simple to add a hook that would let a subclass determine what filter to 
apply.  Then we'd need to find a backwards-compatible way to let the templates 
trigger this hook to produce the right filter (total backwards-compatibility 
here might be tricky, since this would involve changes to the generator itself, 
not just the templates.)

Original comment by smull...@google.com on 15 Oct 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Can I leave this assigned to you to make the necessary changes in the 
framework? After that is done I will make the minor changes necessary not to 
generate XYZScopes.

Original comment by rmis...@google.com on 15 Oct 2012 at 4:46

GoogleCodeExporter commented 9 years ago
Yes.

Original comment by smull...@google.com on 15 Oct 2012 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 Dec 2012 at 2:51

GoogleCodeExporter commented 9 years ago
We should at least mark the file as deprecated in 1.14 and remove it 1.15.

Original comment by yan...@google.com on 18 Jan 2013 at 3:16

GoogleCodeExporter commented 9 years ago
Deprecation moved to: 
http://code.google.com/p/google-api-java-client/issues/detail?id=711

Original comment by yan...@google.com on 22 Jan 2013 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 12 Feb 2013 at 5:58

GoogleCodeExporter commented 9 years ago
Issue 711 has been merged into this issue.

Original comment by yan...@google.com on 12 Feb 2013 at 5:58

GoogleCodeExporter commented 9 years ago
Issue 711 has been merged into this issue.

Original comment by yan...@google.com on 12 Feb 2013 at 5:58