Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-10-07 Thread Jonas Smedegaard
Control: block -1 by 1043517

> Quoting Reinhard Tartler (2023-09-21 14:30:23)
 This is blocked on fixing bug#1043515

...and bug#1043517


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-10-06 Thread Jonas Smedegaard
Control: block -1 by 1043515
Control: owner -1 !

Quoting Reinhard Tartler (2023-09-21 14:30:23)
> Can someone please give me a hand with packaging these three crates so
> that they are built from a single debian source package?

As agreed at https://bugs.debian.org/1052431#22 I have now taken over
this bugreport.

This is blocked on fixing bug#1043515

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-10-06 Thread Jonas Smedegaard
[reposting to bugreport]

Quoting Reinhard Tartler (2023-09-21 18:55:44)
> interesting, thanks for pointing this out.
> 
> with this approach, how does one generate a debian/control file?

It is not auto-generated: You maintain that file by hand.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-09-21 Thread Jonas Smedegaard
Hi Reinhard,

Quoting Reinhard Tartler (2023-09-21 14:30:23)
> Hey folks, I need help packaging axum.
> 
> This package is a new dependency of https://github.com/hyperium/tonic,
> which is needed by newer versions of netavark (which is the userspace
> network stack for podman, the alternative to docker)
> 
> I struggle with packaging this package because it consists of two crates
> that depend on each other. Upstream uses a workspace build and publishes
> all of them, that is, axum, axum-core and axum-macros at the same time.
> Turns out that the debcargo-conf infrastructure is not suitable for
> this.
> 
> Can someone please give me a hand with packaging these three crates so
> that they are built from a single debian source package?

Debcargo and the Debian wrapper for cargo support only single crates,
not multi-crate workspaces.

I use a fork of those helper tools that handles multi-crate workspaces,
and a few other imrpovements:

https://salsa.debian.org/build-common-team/dh-cargo-fork/-/tree/main/dh-cargo


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-09-21 Thread Alexander Kjäll
I think the solution here is to mark some of the autopkgtests as
broken. The dependency loop is only there if you take dev-dependencies
into account and those are mostly optional to package. I can make an
attempt on packaging them.

//Alex

Den tors 21 sep. 2023 kl 13:03 skrev Reinhard Tartler :
>
> Package: wnpp
> Severity: wishlist
>
> * Package name: axum
>   Version : 0.8.0
> * URL or Web page : https://github.com/tokio-rs/axum
> * License : MIT
>   Description : web application framework that focuses on ergonomics and 
> modularity
>
> Hey folks, I need help packaging axum.
>
> This package is a new dependency of https://github.com/hyperium/tonic,
> which is needed by newer versions of netavark (which is the userspace
> network stack for podman, the alternative to docker)
>
> I struggle with packaging this package because it consists of two crates
> that depend on each other. Upstream uses a workspace build and publishes
> all of them, that is, axum, axum-core and axum-macros at the same time.
> Turns out that the debcargo-conf infrastructure is not suitable for
> this.
>
> Can someone please give me a hand with packaging these three crates so
> that they are built from a single debian source package?
>
> Thanks!
>



Bug#1052404: RFP: axum -- web application framework that focuses on ergonomics and modularity

2023-09-21 Thread Reinhard Tartler
Package: wnpp
Severity: wishlist

* Package name: axum
  Version : 0.8.0
* URL or Web page : https://github.com/tokio-rs/axum
* License : MIT
  Description : web application framework that focuses on ergonomics and 
modularity

Hey folks, I need help packaging axum.

This package is a new dependency of https://github.com/hyperium/tonic,
which is needed by newer versions of netavark (which is the userspace
network stack for podman, the alternative to docker)

I struggle with packaging this package because it consists of two crates
that depend on each other. Upstream uses a workspace build and publishes
all of them, that is, axum, axum-core and axum-macros at the same time.
Turns out that the debcargo-conf infrastructure is not suitable for
this.

Can someone please give me a hand with packaging these three crates so
that they are built from a single debian source package?

Thanks!