Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] public custom user repositories
@ 2020-03-06  9:14 whoizit
  2020-03-06  9:24 ` Anachron
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: whoizit @ 2020-03-06  9:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

New issue by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830

Description:
My friend and I got a lot of refusals to add templates to `void-packages` repo. My friend left the Void Linux community too early for this reason. I hate this situation too.

I did not find a guide on how to use my own public repositories. It looks like `xbps-src` is nailed to `void-packages`. 

I want to create my own public repository (not fork `void-packages`). Also without `srcpkgs` dir inside repo. So that other users can easily find, use my templates, and also can add their own templates to my repository.

So my question is how to create my own `void-packages-extra` (or `void-extra-packages`) which is not a fork of `void-packages` or maybe it is worth thinking about taking out `./xbps-src` from the `void-packages` tree and make it available as package to public user repositories

I can’t lead a discussion about this because I don’t really speak English, it’s an online translator.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
@ 2020-03-06  9:24 ` Anachron
  2020-03-06  9:25 ` Anachron
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-06  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595679246

Comment:
So how do you  expect this to work without forking the void-packages repo?
You either have the latest version with `void-packages` or you have to fork it and then keep merging upstream to your fork.

Supporting to `srcpkgs` dirs is not only very error-prone and time-intensive, it's also the wrong way of handling the issue imo.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
  2020-03-06  9:24 ` Anachron
@ 2020-03-06  9:25 ` Anachron
  2020-03-06  9:47 ` whoizit
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-06  9:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595679246

Comment:
So how do you  expect this to work without forking the void-packages repo?
You either have the latest version with `void-packages` or you have to fork it and then keep merging upstream to your fork. (Unless you want to repackage every single package there is, including GCC, the linux kernel and alike)

Supporting multiple `srcpkgs` dirs is not only very error-prone and time-intensive, it's also the wrong way of handling the issue imo.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
  2020-03-06  9:24 ` Anachron
  2020-03-06  9:25 ` Anachron
@ 2020-03-06  9:47 ` whoizit
  2020-03-06  9:55 ` whoizit
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: whoizit @ 2020-03-06  9:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

New comment by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595688690

Comment:
Arch Linux has a system-wide `makepkg` application that builds user PKGBUILDs
Gentoo has `layman` and separate user repos that are going builds through emerge

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (2 preceding siblings ...)
  2020-03-06  9:47 ` whoizit
@ 2020-03-06  9:55 ` whoizit
  2020-03-06 10:04 ` Anachron
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: whoizit @ 2020-03-06  9:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595692061

Comment:
The current state of Void Linux is centralization and dictatorship. I have no freedom to create my own public template repositories

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (3 preceding siblings ...)
  2020-03-06  9:55 ` whoizit
@ 2020-03-06 10:04 ` Anachron
  2020-03-06 10:06 ` Anachron
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-06 10:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595695312

Comment:
You can create your own repository with compiled packages and share it with someone else. 
My suggestion: Make a new git repo, put your `srcpkgs` inside it and build those packages.
Then you host your own repository somewhere and add it to your `xbps` config using https://docs.voidlinux.org/xbps/repositories/custom.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (4 preceding siblings ...)
  2020-03-06 10:04 ` Anachron
@ 2020-03-06 10:06 ` Anachron
  2020-03-06 10:09 ` Anachron
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-06 10:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595695312

Comment:
You can create your own repository with compiled packages and share it with someone else. 
My suggestion: Make a new git repo, put your `srcpkgs` inside it and build those packages.
Then you host your own repository somewhere and add it to your `xbps` config using https://docs.voidlinux.org/xbps/repositories/custom.html

Edit: I briefly checked https://wiki.archlinux.org/index.php/Makepkg & https://git.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in but I have not yet understood how this script works in detail yet.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (5 preceding siblings ...)
  2020-03-06 10:06 ` Anachron
@ 2020-03-06 10:09 ` Anachron
  2020-03-06 10:18 ` Piraty
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-06 10:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595695312

Comment:
You can create your own repository with compiled packages and share it with someone else. 
My suggestion: Make a new git repo, put your `srcpkgs` inside it and build those packages.
Then you host your own repository somewhere and add it to your `xbps` config using https://docs.voidlinux.org/xbps/repositories/custom.html

Edit: I briefly checked https://wiki.archlinux.org/index.php/Makepkg & https://git.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in but I have not yet understood how this script works in detail yet.

Edit2: The problem is `xbps-src` is only aware of one source for pkg templates and that is https://github.com/void-linux/void-packages/blob/master/xbps-src#L532. It will be hard to implement a way how to supply multiple directories.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (6 preceding siblings ...)
  2020-03-06 10:09 ` Anachron
@ 2020-03-06 10:18 ` Piraty
  2020-03-06 10:37 ` whoizit
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Piraty @ 2020-03-06 10:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595701241

Comment:
sure you do have freedom. xbps-src neither is centralized, nor does it dictate anything to you.
it's all open source, so grab the sources and modify+use it to your liking (according to the license), build the packages you want, live happy life.

Some people do have a branch with all their customizations/additions and build packages from that branch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (7 preceding siblings ...)
  2020-03-06 10:18 ` Piraty
@ 2020-03-06 10:37 ` whoizit
  2020-03-06 12:00 ` xtraeme
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: whoizit @ 2020-03-06 10:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New comment by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595708512

Comment:
@Anachron 
> My suggestion: Make a new git repo, put your srcpkgs inside it and build those packages.

This does not work
```
void-packages-extra $ ~/void-packages/xbps-src pkg z
=> ERROR: xbps-src: unexistent file: /home/user/void-packages/srcpkgs/z/template
```

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (8 preceding siblings ...)
  2020-03-06 10:37 ` whoizit
@ 2020-03-06 12:00 ` xtraeme
  2020-03-06 12:00 ` [ISSUE] [CLOSED] " xtraeme
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: xtraeme @ 2020-03-06 12:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595737739

Comment:
The `void-packages` is self-contained. What does that mean? that you can clone it everywhere and it will be always up-to-date.

There's no plan to make xbps-src code work outside of it. It was this way years ago and it was a pain to maintain.

As @Anachron pointed out above you can clone it and add your own custom pkgs to share them with your friends.

So closing this because we don't want to be the next AUR.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ISSUE] [CLOSED] public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (9 preceding siblings ...)
  2020-03-06 12:00 ` xtraeme
@ 2020-03-06 12:00 ` xtraeme
  2020-03-06 12:00 ` xtraeme
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: xtraeme @ 2020-03-06 12:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

Closed issue by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830

Description:
My friend and I got a lot of refusals to add templates to `void-packages` repo. My friend left the Void Linux community too early for this reason. I hate this situation too.

I did not find a guide on how to use my own public repositories. It looks like `xbps-src` is nailed to `void-packages`. 

I want to create my own public repository (not fork `void-packages`). Also without `srcpkgs` dir inside repo. So that other users can easily find, use my templates, and also can add their own templates to my repository.

So my question is how to create my own `void-packages-extra` (or `void-extra-packages`) which is not a fork of `void-packages` or maybe it is worth thinking about taking out `./xbps-src` from the `void-packages` tree and make it available as system package to public user repositories

I can’t lead a discussion about this because I don’t really speak English, it’s an online translator.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (10 preceding siblings ...)
  2020-03-06 12:00 ` [ISSUE] [CLOSED] " xtraeme
@ 2020-03-06 12:00 ` xtraeme
  2020-03-07  9:14 ` whoizit
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: xtraeme @ 2020-03-06 12:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-595737739

Comment:
The `void-packages` repo is self-contained. What does that mean? that you can clone it everywhere and it will be always up-to-date.

There's no plan to make xbps-src code work outside of it. It was this way years ago and it was a pain to maintain.

As @Anachron pointed out above you can clone it and add your own custom pkgs to share them with your friends.

So closing this because we don't want to be the next AUR.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (11 preceding siblings ...)
  2020-03-06 12:00 ` xtraeme
@ 2020-03-07  9:14 ` whoizit
  2020-03-07 14:08 ` Anachron
  2020-03-10  5:58 ` fosslinux
  14 siblings, 0 replies; 16+ messages in thread
From: whoizit @ 2020-03-07  9:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by whoizit on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-596065751

Comment:
https://github.com/void-users/packages

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (12 preceding siblings ...)
  2020-03-07  9:14 ` whoizit
@ 2020-03-07 14:08 ` Anachron
  2020-03-10  5:58 ` fosslinux
  14 siblings, 0 replies; 16+ messages in thread
From: Anachron @ 2020-03-07 14:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-596092230

Comment:
I find it quite bad to start a user repository just because its not accepted here. The entry for packages on here is already quite low.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: public custom user repositories
  2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
                   ` (13 preceding siblings ...)
  2020-03-07 14:08 ` Anachron
@ 2020-03-10  5:58 ` fosslinux
  14 siblings, 0 replies; 16+ messages in thread
From: fosslinux @ 2020-03-10  5:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/19830#issuecomment-596918239

Comment:
I regularly create packages in `srcpkgs/`, sometimes for testing, in my local fork of void-packages and `./xbps-src pkg` them up and install them on my system.... this is what almost all contributors do for their pull requests for testing. I do not understand what you are asking for? Adding a new package locally is as simple as making the template and ./xbps-src pkg, and distributing it is as simple as uploading it to any hosting.

If you are asking why not every single PR is accepted? It is simply because not every single PR is up to the quality that is needed in the void linux repository. If you see my commit history here you will see a large number of closed pull requests around a year ago. This was because I was not very good at programming, scripting, xbps or packaging and as a result produced poor templates and broken updates.

The only thing I can see coming out of a user repository is poor/extraneous templates and broken packages/updates, as I created in earlier times.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-03-10  5:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06  9:14 [ISSUE] public custom user repositories whoizit
2020-03-06  9:24 ` Anachron
2020-03-06  9:25 ` Anachron
2020-03-06  9:47 ` whoizit
2020-03-06  9:55 ` whoizit
2020-03-06 10:04 ` Anachron
2020-03-06 10:06 ` Anachron
2020-03-06 10:09 ` Anachron
2020-03-06 10:18 ` Piraty
2020-03-06 10:37 ` whoizit
2020-03-06 12:00 ` xtraeme
2020-03-06 12:00 ` [ISSUE] [CLOSED] " xtraeme
2020-03-06 12:00 ` xtraeme
2020-03-07  9:14 ` whoizit
2020-03-07 14:08 ` Anachron
2020-03-10  5:58 ` fosslinux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).