[pve-devel] Proxmox Org on GitHub

2020-07-21 Thread Kamil Trzciński
Hi Proxmox Team,

I got a message from Thomas Lamprecht that asked about
the github proxmox org[0] that I'm owner of.

Thomas indicated that this is confusing to Proxmox users
the existence of this organisation as some users look
for sources or help on this organisation, where all
development happens over mailing list.

Thomas proposed to use this organisation as a read-only mirror
of `git.proxmox.com` and asked if I would like to hand off
the ownership.

I would love to!

I propose the following process of transferring
ownership:

1. I would like to use this public communication thread for
   the transfer process to make it formal
2. I would ask Martin or Dietmar to provide a list of GitHub accounts
   to which I should transfer ownership (feel free to send it privately)
3. I will add these member(s) to the GitHub org
4. I will ask to confirm that you got access
5. I will `Leave` myself from the Org

Thanks for awesome work on this project for that
many years.

Kamil

[0]: https://github.com/proxmox
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



Re: [pve-devel] Proxmox Org on GitHub

2020-07-22 Thread Kamil Trzciński
The following users were invited.

Please let me know when you got access.

I also changed public e-mail and billing e-mail to `t.lamprecht`.

Kamil

On Tue, Jul 21, 2020 at 5:09 PM Martin Maurer  wrote:

> Hello Kamil,
>
> Thanks, here is the list of the requested GitHub accounts.
>
> https://github.com/Fabian-Gruenbichler
> https://github.com/Blub
> https://github.com/ThomasLamprecht
>
>
> On 7/21/20 3:11 PM, Kamil Trzciński wrote:
> > Hi Proxmox Team,
> >
> > I got a message from Thomas Lamprecht that asked about
> > the github proxmox org[0] that I'm owner of.
> >
> > Thomas indicated that this is confusing to Proxmox users
> > the existence of this organisation as some users look
> > for sources or help on this organisation, where all
> > development happens over mailing list.
> >
> > Thomas proposed to use this organisation as a read-only mirror
> > of `git.proxmox.com` and asked if I would like to hand off
> > the ownership.
> >
> > I would love to!
> >
> > I propose the following process of transferring
> > ownership:
> >
> > 1. I would like to use this public communication thread for
> >the transfer process to make it formal
> > 2. I would ask Martin or Dietmar to provide a list of GitHub accounts
> >to which I should transfer ownership (feel free to send it privately)
> > 3. I will add these member(s) to the GitHub org
> > 4. I will ask to confirm that you got access
> > 5. I will `Leave` myself from the Org
> >
> > Thanks for awesome work on this project for that
> > many years.
> >
> > Kamil
> >
> > [0]: https://github.com/proxmox
> > ___
> > pve-devel mailing list
> > pve-devel@lists.proxmox.com
> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >
> >
>
> --
> Best Regards,
>
> Martin Maurer
>
> mar...@proxmox.com
> https://www.proxmox.com
>
> 
> Proxmox Server Solutions GmbH
> Bräuhausgasse 37, 1050 Vienna, Austria
> Commercial register no.: FN 258879 f
> Registration office: Handelsgericht Wien
>
>
> ___
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


[pve-devel] Compiling PBS on arm64

2020-12-04 Thread Kamil Trzciński
ARM64 is becoming increasingly popular, especially that PBS seems at least
for my usage-pattern to be ideal to run on my arm64 NAS. In the end
I want to try to be able to recompile everything for arm64 and see how
nicely
it works there.

But first I decided to try to compile all packages for `amd64`. And I'm
scratching my head
to try to do that. This proves to be super hard due to multitude of
dependencies that are backported,
unordered, and require a very special set of commands to be executed
depending on a git repo
since PBS is rust-based.

Do you maybe happen to have a comprehensive guide that allows you to
compile everything
from the scratch without the use of `/devel` repo, ideally with some kind
of CI scripts that would do this heavy lifting?

Kamil Trzciński
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] Compiling PBS on arm64

2020-12-04 Thread Kamil Trzciński
I'm looking for some help on how to get it running and how to make it
reproducible :)

On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzciński  wrote:

> ARM64 is becoming increasingly popular, especially that PBS seems at least
> for my usage-pattern to be ideal to run on my arm64 NAS. In the end
> I want to try to be able to recompile everything for arm64 and see how
> nicely
> it works there.
>
> But first I decided to try to compile all packages for `amd64`. And I'm
> scratching my head
> to try to do that. This proves to be super hard due to multitude of
> dependencies that are backported,
> unordered, and require a very special set of commands to be executed
> depending on a git repo
> since PBS is rust-based.
>
> Do you maybe happen to have a comprehensive guide that allows you to
> compile everything
> from the scratch without the use of `/devel` repo, ideally with some kind
> of CI scripts that would do this heavy lifting?
>
> Kamil Trzciński
>
>
>
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] Compiling PBS on arm64

2020-12-06 Thread Kamil Trzciński
I'm slightly progressing, but I stumbled across some `debcargo` problem. It
appears that
Proxmox uses their own fork of `debcargo`, which is needed in order to
build crates
without the usage of crates.io. Is this patch published somewhere?

rust-debcargo (2.4.2-pve1) proxmox-rust; urgency=medium

  * allow overriding maintainer via debcargo.toml
  * implement local crate support.patch

 -- Proxmox Support Team   Tue, 14 Jan 2020 16:13:48
+0100


On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzciński  wrote:

> ARM64 is becoming increasingly popular, especially that PBS seems at least
> for my usage-pattern to be ideal to run on my arm64 NAS. In the end
> I want to try to be able to recompile everything for arm64 and see how
> nicely
> it works there.
>
> But first I decided to try to compile all packages for `amd64`. And I'm
> scratching my head
> to try to do that. This proves to be super hard due to multitude of
> dependencies that are backported,
> unordered, and require a very special set of commands to be executed
> depending on a git repo
> since PBS is rust-based.
>
> Do you maybe happen to have a comprehensive guide that allows you to
> compile everything
> from the scratch without the use of `/devel` repo, ideally with some kind
> of CI scripts that would do this heavy lifting?
>
> Kamil Trzciński
>
>
>
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] Compiling PBS on arm64

2020-12-07 Thread Kamil Trzciński
Thank you Fabian :)

I was looking for just that.

I was able to remove `.cargo/config` and use `crates.io` to compile
packages. I will post more results once it is done, but I got it rebuild at
least on amd64,
and waiting for arm64 to finish.

Kamil

On Mon, Dec 7, 2020 at 8:54 AM Fabian Grünbichler <
f.gruenbich...@proxmox.com> wrote:

> On December 6, 2020 8:41 pm, Kamil Trzciński wrote:
> > I'm slightly progressing, but I stumbled across some `debcargo` problem.
> It
> > appears that
> > Proxmox uses their own fork of `debcargo`, which is needed in order to
> > build crates
> > without the usage of crates.io. Is this patch published somewhere?
> >
> > rust-debcargo (2.4.2-pve1) proxmox-rust; urgency=medium
> >
> >   * allow overriding maintainer via debcargo.toml
> >   * implement local crate support.patch
> >
> >  -- Proxmox Support Team   Tue, 14 Jan 2020
> 16:13:48
> > +0100
>
>
> https://git.proxmox.com/?p=debcargo-conf.git;a=tree;f=src/debcargo/debian/patches;h=7345cadea4cbffc3174c04e34960e91767892100;hb=refs/heads/proxmox/buster
>
> all of the toolchain backports are published as well on
> git.proxmox.com.. if you want to re-compile all of our devel repo for
> arm64, I suggest familiarizing yourself with debcargo and the
> debcargo-conf repo (especially the upstream and Proxmox readmes) ;)
>
> > On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzciński  wrote:
> >
> >> ARM64 is becoming increasingly popular, especially that PBS seems at
> least
> >> for my usage-pattern to be ideal to run on my arm64 NAS. In the end
> >> I want to try to be able to recompile everything for arm64 and see how
> >> nicely
> >> it works there.
> >>
> >> But first I decided to try to compile all packages for `amd64`. And I'm
> >> scratching my head
> >> to try to do that. This proves to be super hard due to multitude of
> >> dependencies that are backported,
> >> unordered, and require a very special set of commands to be executed
> >> depending on a git repo
> >> since PBS is rust-based.
> >>
> >> Do you maybe happen to have a comprehensive guide that allows you to
> >> compile everything
> >> from the scratch without the use of `/devel` repo, ideally with some
> kind
> >> of CI scripts that would do this heavy lifting?
> >>
> >> Kamil Trzciński
> >>
> >>
> >>
> > ___
> > pve-devel mailing list
> > pve-devel@lists.proxmox.com
> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >
>
>
> ___
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] Compiling PBS on arm64

2020-12-08 Thread Kamil Trzciński
OK. If anyone is interested, a little hacky, but works:

1. I was able to compile (after minor patching) without having to rebuild
the whole dependency tree
as required by Debian, instead using `crates.io`. It builds on a Debian
Bullseye as it was simpler
and required basically no backports

2. I did use stock `debcargo`, but had to include patches to add `debian/*`
files in some cases.
This is suboptimal, but it was the fastest way to have something
working. Ideally a mentioned `debcargo`
should be used to create this glue between Rust and Debian

3. It compiled a minimal PBS for `amd64` and `arm64v8`. `amd64` compiled
natively, where for
compiling `arm64v8` I used `qemu-user`. It took a few hours for this to
finish

4. It builds a very simple Docker image that can be easily run via
docker-compose. I was successful
running a bunch of backups from my Home PC to my NAS running on
RockPro64 (ARM64)

5. All details and precompiled images are here:

- https://github.com/ayufan/pve-backup-server-dockerfiles
- https://hub.docker.com/repository/docker/ayufan/proxmox-backup-server

6. I plan to occasionally update it to the newer version and use it
personally for backuping my personal PVE



On Mon, Dec 7, 2020 at 1:42 PM Kamil Trzciński  wrote:

> Thank you Fabian :)
>
> I was looking for just that.
>
> I was able to remove `.cargo/config` and use `crates.io` to compile
> packages. I will post more results once it is done, but I got it rebuild at
> least on amd64,
> and waiting for arm64 to finish.
>
> Kamil
>
> On Mon, Dec 7, 2020 at 8:54 AM Fabian Grünbichler <
> f.gruenbich...@proxmox.com> wrote:
>
>> On December 6, 2020 8:41 pm, Kamil Trzciński wrote:
>> > I'm slightly progressing, but I stumbled across some `debcargo`
>> problem. It
>> > appears that
>> > Proxmox uses their own fork of `debcargo`, which is needed in order to
>> > build crates
>> > without the usage of crates.io. Is this patch published somewhere?
>> >
>> > rust-debcargo (2.4.2-pve1) proxmox-rust; urgency=medium
>> >
>> >   * allow overriding maintainer via debcargo.toml
>> >   * implement local crate support.patch
>> >
>> >  -- Proxmox Support Team   Tue, 14 Jan 2020
>> 16:13:48
>> > +0100
>>
>>
>> https://git.proxmox.com/?p=debcargo-conf.git;a=tree;f=src/debcargo/debian/patches;h=7345cadea4cbffc3174c04e34960e91767892100;hb=refs/heads/proxmox/buster
>>
>> all of the toolchain backports are published as well on
>> git.proxmox.com.. if you want to re-compile all of our devel repo for
>> arm64, I suggest familiarizing yourself with debcargo and the
>> debcargo-conf repo (especially the upstream and Proxmox readmes) ;)
>>
>> > On Fri, Dec 4, 2020 at 4:21 PM Kamil Trzciński 
>> wrote:
>> >
>> >> ARM64 is becoming increasingly popular, especially that PBS seems at
>> least
>> >> for my usage-pattern to be ideal to run on my arm64 NAS. In the end
>> >> I want to try to be able to recompile everything for arm64 and see how
>> >> nicely
>> >> it works there.
>> >>
>> >> But first I decided to try to compile all packages for `amd64`. And I'm
>> >> scratching my head
>> >> to try to do that. This proves to be super hard due to multitude of
>> >> dependencies that are backported,
>> >> unordered, and require a very special set of commands to be executed
>> >> depending on a git repo
>> >> since PBS is rust-based.
>> >>
>> >> Do you maybe happen to have a comprehensive guide that allows you to
>> >> compile everything
>> >> from the scratch without the use of `/devel` repo, ideally with some
>> kind
>> >> of CI scripts that would do this heavy lifting?
>> >>
>> >> Kamil Trzciński
>> >>
>> >>
>> >>
>> > ___
>> > pve-devel mailing list
>> > pve-devel@lists.proxmox.com
>> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>> >
>>
>>
>> ___
>> pve-devel mailing list
>> pve-devel@lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>>
>
___
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel