r/MorpheApp • • 3d ago • Bravo 1

Discussion Request For Patch Export (Offline)

Can we get an option to export patches/ patch bundles that got removed/deleted on GitHub or when a GitHub account is banned, or export patches offline with or without settings?

97 Upvotes

9 comments sorted by

43

u/kiraio-moe Contributor 3d ago

Up for this

15

u/SpiritGaming28 3d ago

You should make an issue on GitHub for this.

8

u/cactusfruit9 Desktop user 3d ago

For now, try going with alternate sources (if exists) for your apps.

3

u/Winterfell-27 3d ago edited 3d ago

This is not worth for such a niche case

Because patch bundles updates frequently

Means you have to export it every day to be updated ,that's not efficient

To solve this problem to not loose acces to patch bundle due to ban

The better way do it is ,the patch devloper should mirror their repo to multiple hosts like gitlab and codeberg

And what morphe can do is fallback to other mirror of a patch bundle,when their GitHub repo doesn't respond or gets banned.

23

u/cafk 3d ago

Because patch bundles updates frequently

Every time morphe updates sources it downloads a mpp file with all the patches associated with the update.
The mpp file can be used off-line or on your computer. This is why disabled repositories continue working even without adding a mirror.

The question is about being able to export saved mpp files that contain all the patches from a disabled repo, which are cached in morphe.
Morphe already supports directly importing a mpp file (select patch sources option - below the url), you don't need the repo url to patch apps or use someone else's sources.

-2

u/Winterfell-27 3d ago

What i suggested in above comment is the better and most efficient approach for this problem in long term

There will be no load on the end user to export offline patch bundles at all

The less complicated we keep things the better it will be

I Guess you didn't understood what I said,let me rephrase myself

What am saying is the original patch devlopers can mirror their bundles on multiple hosts like gitlab and codeberg

And provide their mirror repo urls in their patch bundle

Now when manager(after adding mirror repos mechanisam in future) checks for update at app start-up can fallback to the mirror repos if the main GitHub hosts doesn't respond or gets banned

Think about it how seamlessly and smoothly it will solve all this ban related issues of patcu bundles sources and wouldn't even let users feel any friction

There will be no need for users to export patch bundles offline

It's a literal High cortisol activity

6

u/cafk 3d ago

What am saying is the original patch devlopers can mirror their bundles on multiple hosts like gitlab and codeberg

And if the developer disappears and doesn't care, then it's some random untrusted mirror, while you have your trusted patches on your device already.
Again, independently where it's hosted, morphe always downloads the mpp file, which you can already import.

It's not about having a mirror, but allowing morphe to export the data that's already there in the apps cache folder, once a mirror is gone or the developer deletes their repository.

-3

u/Winterfell-27 3d ago

Wdym devloper disappears and doesn't care lol

That's not a valid argument

And wdym some random untrusted mirror?

The devloper itself will be the owner of mirror so how it will be untrusted ?

With all edge cases in consideration I don't see adding an option to export a patch bundle a good idea in any way

Especially when it's being proposed to solve the ban issue so that users have a local copy of mpp

If that's the case the solution i proposed is the better one anyday

But yeah having an option is not a bad thing

12

u/cafk 3d ago

You're talking about setting up a hydra, while the OP is asking about being able to export settings from the app.

Those are two different things.

Wdym devloper disappears and doesn't care lol

It's easily possible that a developer just doesn't care or wants to delete a repository. In this example it's possibly a DMCA - but the option to export is still something that qould solve the issue.

There are millions of lines of source that have disappeared because someone stopped hosting a domain or deleted their accounts.

Similarly many patch developers have stopped publishing uodates and people suggest using a fork.

The devloper itself will be the owner of mirror so how it will be untrusted ?

Anyone can set-up an account with the same username elsewhere and distribute malicious packages later.
OPs question is a prime example of this, as when the repo got removed we got multiple links here for mirrors not from the original developer.
Without code signing you don't have verification.

I myself intentionally use different user names and emails for different platforms, for privacy reasons.