When I use gitbucket 3.11 with the new gist plugin 3.11.0, none of my private snippets show up when I click the Gist link at the top of the gitbucket webapp page. If I downgrade gitbucket back to 3.10.1, and the plugin back to 3.10.0, my private snippets are shown. So, there has been a behavior change between 3.10 and 3.11. There is no obvious (to me) way to list private gists in 3.11.
If it matters, I'm simply running java -jar on the war file from the gitbucket release page, i.e. I'm not using an external servlet container. So for the purposes of this issue when I say upgrading/downgrading gitbucket I mean replacing the gist plugin jar file in $HOME/.gitbucket/plugins and then running java -jar on a different war file.
To reproduce:
make sure gitbucket 3.11 and gist plugin 3.11.0 are running
create a new private snippet by clicking New snippet, etc
click away from the gists page to somewhere else
click the Gist link at the top of the page (which brings you to URL/gist)
observe that the snippet you created in 2. is not visible (even though you are still logged in as the user who created the snippet)
click New snippet (which brings you to URL/gist/_new)
observe that the snippet you created in 2. is now visible on the new snippet page
click the Your snippets button (which brings you to URL/gist/USERNAME)
observe the snippet you created in 2. is visible in your list of snippets
If you follow the same flow 1-5, but create a public snippet instead of a private one, the behavior is different: you do see your gist listed after step 4, and do not observe the behavior in 5 above.
If you follow the same flow 1-5 in gitbucket 3.10.1 / gist plugin 3.10.0, you will see your private gist after step 4; i.e., the behavior listed in 5. is different in 3.10 vs. 3.11.
When I use gitbucket 3.11 with the new gist plugin 3.11.0, none of my private snippets show up when I click the Gist link at the top of the gitbucket webapp page. If I downgrade gitbucket back to 3.10.1, and the plugin back to 3.10.0, my private snippets are shown. So, there has been a behavior change between 3.10 and 3.11. There is no obvious (to me) way to list private gists in 3.11.
If it matters, I'm simply running
java -jar
on the war file from the gitbucket release page, i.e. I'm not using an external servlet container. So for the purposes of this issue when I say upgrading/downgrading gitbucket I mean replacing the gist plugin jar file in$HOME/.gitbucket/plugins
and then runningjava -jar
on a different war file.To reproduce:
URL/gist
)URL/gist/_new
)URL/gist/USERNAME
)If you follow the same flow 1-5, but create a public snippet instead of a private one, the behavior is different: you do see your gist listed after step 4, and do not observe the behavior in 5 above.
If you follow the same flow 1-5 in gitbucket 3.10.1 / gist plugin 3.10.0, you will see your private gist after step 4; i.e., the behavior listed in 5. is different in 3.10 vs. 3.11.