anom/transpkg
1
1
Fork
You've already forked transpkg
0

Git Differences Support #2

Open
opened 2025年11月30日 15:06:08 +01:00 by anom · 1 comment
Owner
Copy link

Transpkg is a hard thing to implement, we will try to support git out of the box first.

Why git? Git is a powerful and secure tool, that can help us find the differences btw two packages. Even after transpkg reaching its alpha, Git Support will still remain for debug purposes.

Downfalls? Git potentially may contain a lot of extra information or perhaps even whole First Package, which may lead to transpkg's inefficiency of making tiny differential updates bigger.

Git support is important for making transpkg work and leading towards secure path. Even if transpkg wont use git at one point in the far future (for speed and data storage reasons). Transpkg cant happen without git, and that is the thing that we should remember. Thanks git for making it possible. :heart_trans: 💝 ❤️

Transpkg is a hard thing to implement, we will try to `support git` out of the box first. Why git? Git is a powerful and secure tool, that can help us find the differences btw two packages. Even after transpkg reaching its alpha, `Git Support` will still remain for debug purposes. Downfalls? Git potentially may contain a lot of extra information or perhaps even whole `First Package`, which may lead to `transpkg`'s inefficiency of making tiny differential updates bigger. `Git support` is important for making `transpkg` work and leading towards secure path. Even if `transpkg` wont use `git` at one point in the far future (for speed and data storage reasons). `Transpkg` cant happen without `git`, and that is the thing that we should remember. Thanks `git` for making it possible. :heart_trans: 💝 ❤️
anom removed their assignment 2025年11月30日 15:14:04 +01:00
Author
Owner
Copy link

Info

First Package

Current Version of the package that you want to update to a newer version. This package will be reused by transpkg to make downloading process faster.

Second Package

Version of the package that you want to update to. This package will be downloaded in form of transpkg, and will be later reconstructed from the first pkg and Least Needed Crucial Information listed in transpkg.

Transitional Package, Differential Update or Middle Package

It is a package that contains all information needed about both first and second packages to restore one from the other. Differential Update is just a package with updates, but only excludes the content that may be already installed.

Least Needed Crucial Information

It is an information, files, data, and list of files that are needed to be reused. This information is the very minium and contains all the info to restore first or second package from the other. This information if better than compression, as it removes everything that can be reused later locally.

It's a list of already downloaded local packages (that are still in the cache) and can be reused. They are playing the same role as First Package. But note💡that making Transitional Package from more than two packages makes that package specialized specifically to all involved packages, which makes them a requirement too, otherwise transpkg wont work. So for example, if you want to share it with people, it may be useless if they dont have all the mentioned versions.

Git Support

Transpkg will use git to update First Package to the Second Package. This package may be twice as big as both packages combined. (The statement may be inaccurate and may be updated in the future).

# Info ##### `First Package` Current Version of the package that you want to update to a newer version. This package will be reused by transpkg to make downloading process faster. ##### `Second Package` Version of the package that you want to update to. This package will be downloaded in form of transpkg, and will be later reconstructed from the first pkg and `Least Needed Crucial Information` listed in transpkg. ##### `Transitional Package`, `Differential Update` or `Middle Package` It is a package that contains all information needed about both first and second packages to restore one from the other. Differential Update is just a package with updates, but only excludes the content that may be already installed. ##### `Least Needed Crucial Information` It is an information, files, data, and list of files that are needed to be reused. This information is the very minium and contains all the info to restore first or second package from the other. This information if better than compression, as it removes everything that can be reused later locally. ##### `Related Packages` or `Reused Packages` It's a list of already downloaded local packages (that are still in the cache) and can be reused. They are playing the same role as `First Package`. But note💡that making `Transitional Package` from more than two packages makes that package specialized specifically to all involved packages, which makes them a requirement too, otherwise transpkg wont work. So for example, if you want to share it with people, it may be useless if they dont have all the mentioned versions. ##### `Git Support` Transpkg will use git to update `First Package` to the `Second Package`. This package may be twice as big as both packages combined. (The statement may be inaccurate and may be updated in the future).
anom added reference master 2026年04月15日 19:32:36 +02:00
Sign in to join this conversation.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
anom/transpkg#2
Reference in a new issue
anom/transpkg
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?