-
Notifications
You must be signed in to change notification settings - Fork 46
MRepo repository bugs #43
Comments
This is expected behavior, all repos need to be migrated to new data structure. As for the sharing function, it should be added. |
How is it impossible to copy and paste the address in order to add repos within MRepo? You did that in order to return that error. Also, you were able to add a different repo..... But we now have an explanation regarding the error thanks to the dev, Izzy has to migrate to new data structure |
Got the same issue, is repo-util already stable? if not, MRepo should support both, imho |
@IzzySoft |
Currently not (busy on other tasks). And I still wait for the signal by @ya0211 for a stable version being available I should update to (last I remember was a signal to better wait for that). Did I miss that signal? Thanks to the ping here, I NOW see v2.0.0 has been tagged 5 days ago, so I assume that? Are there any "update instructions", as the entire structure was changed – things that one should take care of?
It's a good idea to keep the client "backward compatible", as @mdkcore0 already suggested (F-Droid e.g. still supports its old XML index, which was superseded by JSON index-v1 years ago, though it already has even index-v2 for quite a while now), to not "break things"). I had to work around things not yet available back then, so an update will certainly take some time here as I'll need to adjust everything else (e.g. for the website part). It took you several months to establish the new structure (which certainly was some work, I'm definitely not complaining about that part but definitely appreciate it) – not nice to expect repo maintainers to have their part updated on such short notice (or actually having them find out it no longer works), no offense meant. So sorry folks, guess I'll have to ask you to use an older version of MRepo meanwhile if you want to use my repo 😢 I certainly won't find time for the update within the next week or two. Especially not without knowing in advance the "crucial parts" I have to be aware of when upgrading.
And how would their maintainers know they had to do that? By getting reports from users that it suddenly seems to be broken? Not the best approach I guess 😉 So what are the steps required?
There's now |
I didn't explain how to migrate since util already does most of the things. You only need to use the new Backward compatible
|
OK, that will take a little for the currently 81 modules but shouldn't be too hard.
Which will do what with the new version? If it immediately syncs to the server, that might break things before I've tested and fixed things (see below, my website presentation of the repo might need adjustments, too; I haven't checked yet if at least the new index format is backwards compatible so other tools working with the index could just ignore new fields). Could you also shortly outline what
Oh? Going by the Readme, I had thought that would be the task of
Maybe you could include some short hints there what the commands are intended for (and what they do)? For example, I'll see to it as soon as I can, but I won't be able to even reply here for the next few days. Would be good to have the necessary details available then.
That might work to get MRepo accepting my repo again – but would possibly break my website presence which is not (yet) adapted to the new index format. Same for my framework which is used for the maintenance. So this will need some testing, too – for which I'd need a way to do everything but not have the results sync'd to the server yet (so I can fix things before some "broken stuff" goes live). Thanks in advance! |
PS: I've just checked, and the sync step (to upload stuff to the server) is a separate one handled by my framework, so I can make sure it's disabled for the testing period. Still would need to know the other details, though. |
This is the new modules.json(v1): https://github.com/ya0211/magisk-modules-repo-util#v1
The migration of config.json will be automatically done by the Config class. This means that any subcommand that uses config.json will have the functionality to migrate config.json (github, sync, index, check). |
Thanks for the details, Sanmer – much appreciated! Maybe one day we'll have a full documentation so nobody has to dig for those details 😉 Thanks to your input, I today started to see for the upgrade – but immediately ran into some issues. For one, it looks like the current version only works if running from inside a Git tree. If (as in the past) one only copies the
So 1.5 MB "bare repo" (the I've opened MRepoApp/magisk-modules-repo-util#27 for this – and luckily can work around it easily by using a That figured, I am now looking what has changed in the syntax:
Structural changes to Further it's a bit disappointing that |
Oof, that was an extra night-shift now: updated my core library so it can deal with the v1 index now (a quick check with the WebUI showed no remaining issues). The remaining framework still needs to be adjusted (no updates until then), but at least MRepo should no longer complain. @Retardium @mdkcore0 @Kevinco1 @jason-stream can one of you confirm the repo is loaded correctly again in MRepo? |
I confirm it is working now, many thanks @IzzySoft and you all! |
Thanks @mdkcore0 – that's good news! Working on the update part then (seems to be mostly running already), so hopefully remaining gaps are closed until the weekend. |
For those still looking here: Everything seems to be in working order again now (thanks @ya0211 for your help and your fast solving of open points!). For the "final confirmation" I still need to wait for the next module update coming up and a new module to add, but I'm confident everything has been addressed and, where needed, properly adjusted. |
OK, looks like updates are now working fine, too, so I'll close this browser tab now. Thanks for all who helped – reporting, fixing and testing alike! |
Whatever is going on, the app made the camera stop working. |
@BurhanBudak I suggest to open a separate issue for that. Please also include additional details such as the device you're using and what Android version it's on (these might help to narrow down what could possibly cause it). |
MRepo version; 1.5.0-alpha02.3aff200
On this version of the app, it is easy to copy/paste/share the repository links because the feature exists.
On this version of the app the following repo works just fine;
https://apt.izzysoft.de/magisk/
The following repo throws a bug;
https://ya0211.github.io/magisk-modules-alt-repo/
MRepo Version 2.0.0-beta01.06e13e8
On this version of the app, it is IMPOSSIBLE to share the repository links because the feature has been removed, effectively rendering the app inferior to its previous version as it lacks this feature.
On this version of the app the following repo throws a bug;
https://apt.izzysoft.de/magisk/
The following repo works just fine;
https://ya0211.github.io/magisk-modules-alt-repo/
The text was updated successfully, but these errors were encountered: