3
5
Fork
You've already forked xut
3

Merge + Better search + #30

Merged
mobinmob merged 18 commits from oSoWoSo/xut:DEV into master 2025年10月21日 06:29:33 +02:00
Contributor
Copy link

Include what was in MR #19

This MR will improve:

  • Compare versions and revisions
  • delete old template folder (stale patches)
  • sync_repos() end right away if not needed
  • No longer use hashes
  • Better info and debug messages
  • (削除) Only one template_list yet (削除ここまで)
  • create templates separate lists for all repos
  • searching in all templates
  • results show where was found
  • in all_templates list packages on new line

Needs to be solved ?

  • (削除) templates list of clean void-packages (without xtra repos) (削除ここまで) probably allready solved

  • Then I will look at updates (test packages only from xtra repos?) packages in void-packages should be good

  • And finally shlibs

Closes #10

# Include what was in MR #19 ### This MR will improve: - Compare versions and revisions - delete old template folder (stale patches) - sync_repos() end right away if not needed - No longer use hashes - Better info and debug messages - ~Only one template_list yet~ - create templates separate lists for all repos - searching in all templates - results show where was found - in all_templates list packages on new line Needs to be solved ? - ~templates list of clean void-packages (without xtra repos)~ probably allready solved - Then I will look at updates (test packages only from xtra repos?) packages in void-packages should be good - And finally **shlibs** Closes #10

With a quick look, that seems fine :)
Let me test and hopefully merge as-is. I will comment inline if anything seems off.

With a quick look, that seems fine :) Let me test and hopefully merge as-is. I will comment inline if anything seems off.

@zenobit wrote in #30 (comment):

Needs to be solved:

  • templates list of clean void-packages (without xtra repos)

I will see if I can do something about that.
I believe the best course is to discourage replacement of packages that exist in the void-packages repo.
If a replacement is needed, then the template author should rename the template and use replaces.

  • Then I will look at updates (test packages only from xtra repos?) packages in void-packages should be good

We should check packages only for extra repos and those that have restricted=yes in the template.

  • And finally shlibs

The naive option is to append them at the end of the shlibs of the default repo on merge. The hyprland repo can be used as a test case, they specifically suggest this if I am not mistaken...

@zenobit wrote in https://codeberg.org/mobinmob/xut/pulls/30#issue-2538206: > > Needs to be solved: > > * templates list of clean void-packages (without xtra repos) I will see if I can do something about that. I believe the best course is to discourage replacement of packages that exist in the void-packages repo. If a replacement is needed, then the template author should rename the template and use `replaces`. > * Then I will look at updates (test packages only from xtra repos?) packages in void-packages should be good We should check packages only for extra repos and those that have `restricted=yes` in the template. > * And finally **shlibs** The naive option is to append them at the end of the shlibs of the default repo on merge. The hyprland repo can be used as a test case, they specifically suggest this if I am not mistaken...
Author
Contributor
Copy link

I will see if I can do something about that. I believe the best course is to discourage replacement of packages that exist in the void-packages repo. If a replacement is needed, then the template author should rename the template and use replaces.

👍

We should check packages only for extra repos and those that have restricted=yes in the template.

As I thought

The naive option is to append them at the end of the shlibs of the default repo on merge. The hyprland repo can be used as a test case, they specifically suggest this if I am not mistaken...

That will brake everything. You can't have two version of same package with different versions in shlibs
I already made some tests, but needs to be still improved before MR...

> I will see if I can do something about that. I believe the best course is to discourage replacement of packages that exist in the void-packages repo. If a replacement is needed, then the template author should rename the template and use `replaces`. 👍 > We should check packages only for extra repos and those that have `restricted=yes` in the template. As I thought > The naive option is to append them at the end of the shlibs of the default repo on merge. The hyprland repo can be used as a test case, they specifically suggest this if I am not mistaken... That will brake everything. You can't have two version of same package with different versions in shlibs I already made some tests, but needs to be still improved before MR...

Sorry @zenobit, I seen to have edited your post instead of quoting it in my reply... I partly blame my client app...

Sorry @zenobit, I seen to have edited your post instead of quoting it in my reply... I partly blame my client app...
Author
Contributor
Copy link

Sorry @zenobit, I seen to have edited your post instead of quoting it in my reply... I partly blame my client app...

No problem
history is saved, so i recreate from it

PS: GitNex?

> Sorry @zenobit, I seen to have edited your post instead of quoting it in my reply... I partly blame my client app... No problem history is saved, so i recreate from it PS: GitNex?
Author
Contributor
Copy link

I do not expect a lot of instances of that but yes, it is a real possibility unfortunately...

some of packages in hyprland (with shlibs) are also in Void

just pushed update to Void today

  • hyprutils
  • hyprpicker
  • hyprwayland-scanner
>I do not expect a lot of instances of that but yes, it is a real possibility unfortunately... some of packages in hyprland (with shlibs) are also in Void just pushed update to Void today - hyprutils - hyprpicker - hyprwayland-scanner

Yep, GitNex.

Yep, GitNex.

@zenobit

I do not expect a lot of instances of that but yes, it is a real possibility unfortunately...

some of packages in hyprland (with shlibs) are also in Void

just pushed update to Void today

  • hyprutils
  • hyprpicker
  • hyprwayland-scanner

Oh, nice 😉
I will also have something with conflicting shlibs (66 and the skarnet stack), but that a much lesser issue.

@zenobit >>I do not expect a lot of instances of that but yes, it is a real possibility unfortunately... > >some of packages in hyprland (with shlibs) are also in Void > >just pushed update to Void today >- hyprutils >- hyprpicker >- hyprwayland-scanner Oh, nice 😉 I will also have something with conflicting shlibs (66 and the skarnet stack), but that a much lesser issue.

Is it possible to have a single PR in that instance?

Is it possible to have a single PR in that instance?
Author
Contributor
Copy link

Is it possible to have a single PR in that instance?

You mean on GitHub to void-packages or here?

If void-packages
Should be in one PR
since hyprwayland-scanner is dependency of hyprutils and that dependency of hyperpicker
GitHub MR

> Is it possible to have a single PR in that instance? You mean on GitHub to void-packages or here? If void-packages Should be in one PR since hyprwayland-scanner is dependency of hyprutils and that dependency of hyperpicker [GitHub MR](https://github.com/void-linux/void-packages/pull/57604)

I mean combine this PR with #19. I will first merge the xutconf PR though.

I mean combine this PR with #19. I will first merge the xutconf PR though.
zenobit changed title from (削除) Better search (削除ここまで) to Merge + Better search + 2025年10月21日 01:43:15 +02:00
Author
Contributor
Copy link

I mean combine this PR with #19. I will first merge the xutconf PR though.

Good to go

> I mean combine this PR with #19. I will first merge the xutconf PR though. Good to go

Merging, thanks a lot for your work and patience :)
Now I will test, test and then test some more...
The commented-out section was needed before, let's see if your much more refined approach makes it obsolete (completelly possible).

Merging, thanks a lot for your work and patience :) Now I will test, test and then test some more... The commented-out section was needed before, let's see if your much more refined approach makes it obsolete (completelly possible).
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
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
mobinmob/xut!30
Reference in a new issue
mobinmob/xut
No description provided.
Delete branch "oSoWoSo/xut:DEV"

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?