bernigaud / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

List album access levels #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. google picasa list-albums

What is the expected output? What do you see instead?

I expect it to list every album (or at least the N it chooses to show shouldn't 
look arbitrarily-chosen).

Instead it shows me three albums, something like the 6th, 13th, and 7th in the 
order they appear in picasaweb.google.com.

What version of the product are you using? On what operating system?

~$ google --version
google 0.9.2
~$ uname -a
Linux philsnow-hostname-redacted 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 
19:31:57 UTC 2010 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by philsnow on 16 Jun 2010 at 8:41

GoogleCodeExporter commented 9 years ago
I suspect the albums are:

First half of April, http://picasaweb.google.com/philsnow/FirstHalfOfApril
Feb-March, http://picasaweb.google.com/philsnow/FebMarch
Liam's Birthday, http://picasaweb.google.com/philsnow/LiamSBirthday

The problem is that the picasa list task doesn't require logging in, so if you 
haven't performed any tasks that require logging in / authenticating, it will 
only list your public albums.

Potential solution: Add an option --access that can take one of "public, 
protected, private". It can be used to set permissions on creating an album, or 
listing albums. If you specify "protected" or "private", a login is forced.

Opinions?

Original comment by tom.h.mi...@gmail.com on 16 Jun 2010 at 8:59

GoogleCodeExporter commented 9 years ago
Indeed those are the three albums (set to public by mistake, thanks for 
pointing it out).

Re your potential solution, wouldn't it be better to use the picasaweb term 
"unlisted" instead of "protected"?  Also I think the default for list-albums 
should be to log in, and then there should be an option --public that only 
lists public albums.

Original comment by philsnow on 17 Jun 2010 at 6:25

GoogleCodeExporter commented 9 years ago
r214 forces the user to log in. It erases the ability to list other user's 
public albums, but it makes the picasa service behave like all the others (and 
solves this problem).

Implementing the solution we've talked about will involve re-working how tasks 
are defined, which isn't something I should be tackling right before getting 
publicized :)

I'll leave this issue as "Accepted" until a good solution is written.

Original comment by tom.h.mi...@gmail.com on 17 Jun 2010 at 1:23

GoogleCodeExporter commented 9 years ago
using the --owner flag will list only your public albums, but I think the 
general thing to do here is enable "picasa list" to also list album access 
levels.

Original comment by tom.h.mi...@gmail.com on 15 Sep 2010 at 3:58

GoogleCodeExporter commented 9 years ago
r466 fixes this issue. Documentation now includes access as a valid value to 
include with --fields.

Original comment by thmil...@google.com on 15 Oct 2010 at 7:01