Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, thanks! For me to track:
EDIT: @vshcherb All issues resolved/fixed, I will leave it at that. Thx! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reviewing our code, could anybody please assist clarifying the following (I can offer to fix most, but don't want to fix phantoms):
Is it intentional that since 1fd5171 the favorites backup files (in OsmAnd's backup folder) are just named
<date_time>.gpx.zip
, without any"favorites"
prefix.I notice since 1fd5171 we now only keep 10 files history, it used to be 20?
Is is intentional that after (Separate favs #15735) the backup files are simply suffixed with ".zip", but are not actually zipped any more?
We have
BACKUP_MAX_PER_DAY = 2
, but I find more backup files for some days on my device. Could be a bug, or just me testing and switching between builds. We still mean to enforce this, right?Backward compatibility: I think this is intentional, but just to be sure: In builds prior to (Separate favs #15735) you could place/update a file with the OLD naming convention
"favourites.gpx"
in OsmAnd's data folder root, and it was automatically evaluated (favorites imported). Now this only works (with both old and new name convention) if you place the file in the new "favorites" subfolder. I think this behavior is intentional. Do we think this breaks anything? I.e. do we also need to look in root for such a legacy favourites.gpx to consider?I am uncertain about method
AppInitializer.restoreBackupForFavoritesFiles()
: Is it still needed? If yes, does it need adjusting to the recent changes of now using a favorites folder and separate files?A technicality: We maintain two separate constants for the same thing?
IndexConstants.GPX_FILE_EXT
andFavoritesFileHelper.GPX_FILE_EXT
?Another technicality: The names of our classes and methods have always used a mixture of "Favorite" (e.g.
FavoritesSettingsItem.java
) and "Favourite" (e.g.FavouritesFileHelper.java
), which makes debugging more tedious than it could be. Is it worth or too risky to change all code to using "Favorites" only?Beta Was this translation helpful? Give feedback.
All reactions