sctg-development / sctgdesk-server

Rendez-vous server, API server and web console for Rustdesk 100% in Rust ( integrated version, for standalone see https://github.com/sctg-development/sctgdesk-api-server )
https://sctg-development.github.io/sctgdesk-api-server
GNU Affero General Public License v3.0
100 stars 18 forks source link

Alternative versioning scheme #13

Open kuolemaaa opened 3 weeks ago

kuolemaaa commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Since this project is based on the original server with the addition of your dashboard and your other stuff/fixes I think it is reasonable to change the version scheme to a more descriptive one until the two projects diverge without possibility of reconciliation (well, not a proper reconciliation since you are adding on top of that and the vice-versa not gonna happen anyway soon :-) ).

Describe the solution you'd like

Adopt a version scheme that is {your-scrgdesk-server-version-scheme}+rustdesk-{original-version-based-on}

Let's say that the version of your dashboard and additions is called 1.20 and the original version which is based on is the (actual) desk-server that is released and called 1.1.12. You started at 1.1.99 I really don't understand why.

The final version name of your release will be 1.20+rustdesk-1.1.12


Describe alternatives you've considered

No alternative. This is good practice.

aeltorio commented 3 weeks ago

Good idea

aeltorio commented 3 weeks ago

How can we reflect that rustdesk-server itself diverge for example rustdesk-server does not have tcp mode (but pro version has) ?

kuolemaaa commented 3 weeks ago

How can we reflect that rustdesk-server itself diverge for example rustdesk-server does not have TCP mode (but pro version has) ?

Interesting problems. I need to have a look at the whole codebase in order to have a strong opinion on that and I don't have time for that but I would love to.

Having said that:

Now, I repeat that I need to look at the whole codebase and in particular to the api server thing and the two server entities that are the hbbs and hbbr, which is primary which is secondary, which one can be replicated, etc etc. I don't remember these detail.

Please, answer these two question if you want.

Since I am ignorant about the codebase organization, listening to my gut and not my mind, I would reorganize your work in something else. My guts are telling me that both TCP mode addition and API server thing belong both to either hbbs or hbbr and since that I would incorporate both element in a single project called sctgdesk-server that has that versioning scheme I talked about. But still: if the TCP mode is an addition for hbbr and API server is an addition for hbbs I would still go ahead with this idea (if it is feasible).

I'm not that good with words and not good in describing what happens inside my mind. Feel free to ask questions.