#113 [Crash] Old Versions | Close Gracefully

Closed
opened 1 day ago by 6543 · 5 comments
6543 commented 1 day ago

A user told me the app crashes all the time ...

he uesd gitea version 1.7.x !

we should implement a routine wich check if gitnex is compatible with the version and if not, show a message what is going on at least.

-> “GitNex doesnt support this Version - pleas upgrade your Gitea as son as posible”

with an option to clear the data (so you can use other instances)

A user told me the app crashes all the time ... he uesd gitea version 1.7.x ! we should implement a routine wich check if gitnex is compatible with the version and if not, show a message what is going on at least. -> "GitNex doesnt support this Version - pleas upgrade your Gitea as son as posible" with an option to clear the data (so you can use other instances)
6543 added this to the 2.3.0 milestone 1 day ago
6543 added the
Improvement
label 1 day ago
6543 added the
Major-release
label 1 day ago
6543 self-assigned this 1 day ago
mmarif commented 1 day ago
Owner

I am thinking as the changes in API occur rapidly, it's not easy to maintain backports.

Like I personally test on latest commit and latest stable version of Gitea. Means not easy to keep checking each request on different servers, even if can we still need different servers with different Gitea versions installed. Which will make things complicated.

So what I propose is that we keep last two stable version as supported. Like at this moment Gitea 1.8.x and 1.9.x and latest commit of course. Once Gitea 1.10 come out, Gitea 1.8 will be removed from support.

For this I can think of to implement a check on the login screen what version of Gitea the user have and then show a popup/toast that your version is not supported please upgrade to latest version etc.

I am thinking as the changes in API occur rapidly, it's not easy to maintain backports. Like I personally test on latest commit and latest stable version of Gitea. Means not easy to keep checking each request on different servers, even if can we still need different servers with different Gitea versions installed. Which will make things complicated. So what I propose is that we keep last two stable version as supported. Like at this moment Gitea 1.8.x and 1.9.x and latest commit of course. Once Gitea 1.10 come out, Gitea 1.8 will be removed from support. For this I can think of to implement a check on the login screen what version of Gitea the user have and then show a popup/toast that your version is not supported please upgrade to latest version etc.
mmarif commented 1 day ago
Owner
Ref for implementation https://code.obermui.de/6543/Java_Version_x.y.z_tester/src/branch/master/src/com/company
6543 commented 1 day ago
Poster

@mmarif at witch point the app try to log in to an instance at first?

so the check is at first

@mmarif at witch point the app try to log in to an instance at first? so the check is at first
mmarif commented 1 day ago
Owner

Check LoginActivity.

Check LoginActivity.
6543 commented 1 day ago
Poster
https://gitea.com/gitnex/GitNex/pulls/147 close this
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.