Store the session part elsewhere... so that the remaining project part is largely static and invariant across systems, so that can be checked in.

But does anyone actually want to check in that?

Apparently @kugel- does.

To be specific, when this change happens, will we, developers of Geany, want to have the project file checked in the Geany repository?

  1. Maybe. Depends on how it's implemented.
  2. Geany devs deciding not to use it this way doesn't mean all other developers also won't.
  3. This isn't the only benefit of the config/session split. It is just one of kugel's motivations. A couple possibilities:

And I assume that one of the reasons why you store your project files outside the project directory is that it isn't version-controlled so you actually aren't a user of such a feature anyway.

I store projects in a centralized location so I can easily switch among them. I'm not against checking in a project file if the issues are resolved. If a suitable project file were version controlled, I'd be able copy or symlink it. This makes new-project creation easier for new users because they don't have to do it at all.

There could be an option to not split the session from the project. In that case, relative paths would continue to work.

Either do it or don't do it for everyone - having to deal with settings that are hard to explain to users and having to maintain 2 different modes of session storage isn't exactly what Geany needs.

Different people have different preferences, so I am for having more options, provided the program logic they control is not too complex. The current config/session split implementation is likely not the end. With appropriate changes, preferences could very easily be moved around in different files.

Project files could contain a copy of the hash to enable locating and moving old session files.

This is probably the only sane option but then you are facing problems like sharing session files by 2 different projects when you have one original_project and make its copy to project_backup - both will then share the same session files.

For moving to a different computer, I suggested having a preference to store the session in the project file. If you don't like having the option, you don't have to use it.

Geany is a simple editor, we should come up with simple solutions that are easy to reason about and easy to explain to users.

Simple? Have you seen the 74-page manual?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.