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

Allow to change "public" or "secret" state of existing gist. #38

Closed
sanusart opened this issue Jul 7, 2013 · 9 comments
Closed

Allow to change "public" or "secret" state of existing gist. #38

sanusart opened this issue Jul 7, 2013 · 9 comments

Comments

@sanusart
Copy link
Member

sanusart commented Jul 7, 2013

Allow to change "public" or "secret" state of existing gist.

@sanusart
Copy link
Member Author

sanusart commented Jul 7, 2013

Seems not possible by API.
Suggestion: To notify user that all revisions will be lost, URL of gist will change, comments will be lost and then to re-create a gist as new with all data and delete the old one.

@morsdyce
Copy link
Member

morsdyce commented Jul 7, 2013

Maybe we should just drop it?

As this isn't supported on github website as well, the only purpose between
public and secret is how you share it.
Secret gist can only send the link around instead of searching for public
gists using github website.

What do you think?

On Mon, Jul 8, 2013 at 12:34 AM, Sasha Khamkov notifications@github.comwrote:

Seems not possible by API.
Suggestion: To notify user that all revisions will be lost, URL of gist
will change, comments will be lost and then to re-create a gist as new with
all data and delete the old one.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20578000
.

@sanusart
Copy link
Member Author

sanusart commented Jul 7, 2013

And what about scenario where I want one of my gists to not be public anymore?

On Jul 8, 2013, at 12:37 AM, Maayan Glikser notifications@github.com wrote:

Maybe we should just drop it?

As this isn't supported on github website as well, the only purpose between
public and secret is how you share it.
Secret gist can only send the link around instead of searching for public
gists using github website.

What do you think?

On Mon, Jul 8, 2013 at 12:34 AM, Sasha Khamkov notifications@github.comwrote:

Seems not possible by API.
Suggestion: To notify user that all revisions will be lost, URL of gist
will change, comments will be lost and then to re-create a gist as new with
all data and delete the old one.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20578000
.


Reply to this email directly or view it on GitHub.

@morsdyce
Copy link
Member

morsdyce commented Jul 7, 2013

I think it's a rather rare use case but I guess someone could use it.

On Mon, Jul 8, 2013 at 12:41 AM, Sasha Khamkov notifications@github.comwrote:

And what about scenario where I want one of my gists to not be public
anymore?

On Jul 8, 2013, at 12:37 AM, Maayan Glikser notifications@github.com
wrote:

Maybe we should just drop it?

As this isn't supported on github website as well, the only purpose
between
public and secret is how you share it.
Secret gist can only send the link around instead of searching for
public
gists using github website.

What do you think?

On Mon, Jul 8, 2013 at 12:34 AM, Sasha Khamkov notifications@github.comwrote:

Seems not possible by API.
Suggestion: To notify user that all revisions will be lost, URL of
gist
will change, comments will be lost and then to re-create a gist as new
with
all data and delete the old one.


Reply to this email directly or view it on GitHub<
https://github.com/Gisto/Gisto/issues/38#issuecomment-20578000>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20578108
.

@danijeljw
Copy link

So, there's no way to change a Gist from being Public to Private, and vice-versa, is that correct?

@morsdyce
Copy link
Member

morsdyce commented Oct 6, 2013

No, we will have to recreate the gist itself.
On 6 Oct 2013 08:37, "Danijel J" notifications@github.com wrote:

So, there's no way to change a Gist from being Public to Private, and
vice-versa, is that correct?


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-25762754
.

@sanusart
Copy link
Member Author

sanusart commented Oct 6, 2013

The only way as it seems now is to recreate the gist with opposed access permissions. In such scenario the stars, revisions and comments of this gist will be lost.
Star can be recreated instantly, revisions and comments cannot.
We plan to implement this feature with user warned that gist will loose comments and revisions.

On Oct 6, 2013, at 8:37 AM, Danijel J notifications@github.com wrote:

So, there's no way to change a Gist from being Public to Private, and vice-versa, is that correct?


Reply to this email directly or view it on GitHub.

sanusart added a commit that referenced this issue Oct 16, 2013
Lets decide whether to delete the original gist or to leave option to keep.
@ilyaevseev
Copy link

Still actual (at least for me)

@sanusart
Copy link
Member Author

sanusart commented Feb 5, 2014

You can do it by pressing on the lock icon besides the title of the gist you are in.
screenshot from 2014-02-05 14 07 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants