public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fabian Ebner <f.ebner@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH-SERIES pmg-rs/pmg-api/pmg-gui] add APT repositories API/UI
Date: Tue, 13 Jul 2021 10:04:09 +0200	[thread overview]
Message-ID: <20210713080413.26662-1-f.ebner@proxmox.com> (raw)

Nearly identical to what's in PVE. I ran into very occasional errors
like
    error: invalid type: string "3", expected usize (500)
    error: expected bool value (500)
when using the enabled/disabled button, so I added int() coercions to
make perlmod always happy.

Dependency bump from pmg-api to pmg-rs needed.


pmg-rs:

Fabian Ebner (2):
  bump perlmod dependency
  add bindings for proxmox-apt

 Cargo.toml              |   6 +-
 Makefile                |   7 ++
 debian/control          |   2 +
 src/apt/mod.rs          |   1 +
 src/apt/repositories.rs | 159 ++++++++++++++++++++++++++++++++++++++++
 src/lib.rs              |   1 +
 6 files changed, 175 insertions(+), 1 deletion(-)
 create mode 100644 src/apt/mod.rs
 create mode 100644 src/apt/repositories.rs


pmg-api:

Fabian Ebner (1):
  api: apt: add calls for repositories

 src/PMG/API2/APT.pm | 292 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 292 insertions(+)


pmg-gui:

Fabian Ebner (1):
  add panel for APT repositories

 js/ServerAdministration.js | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.30.2





             reply	other threads:[~2021-07-13  8:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  8:04 Fabian Ebner [this message]
2021-07-13  8:04 ` [pmg-devel] [PATCH pmg-rs 1/2] bump perlmod dependency Fabian Ebner
2021-07-13  8:04 ` [pmg-devel] [PATCH pmg-rs 2/2] add bindings for proxmox-apt Fabian Ebner
2021-07-13  8:04 ` [pmg-devel] [PATCH pmg-api 1/1] api: apt: add calls for repositories Fabian Ebner
2021-07-13  8:04 ` [pmg-devel] [PATCH pmg-gui 1/1] add panel for APT repositories Fabian Ebner
2021-07-13 12:33 ` [pmg-devel] applied-series: [PATCH-SERIES pmg-rs/pmg-api/pmg-gui] add APT repositories API/UI Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210713080413.26662-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal