public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] Add support for Suite Component format sources
@ 2020-07-01 10:51 Felix Mößbauer
  2020-07-01 10:51 ` [PATCH 1/1] Add support for apt sources which use an absolute Suite Component Felix Mößbauer
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Mößbauer @ 2020-07-01 10:51 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Mößbauer

This patch adds support to add apt sources in the format of
deb http://url / which is also known as absolute Suite Component format.
The current isar version fails on parsing this format.

A potential use case is to add packages from opensuse.

Felix Mößbauer (1):
  Add support for apt sources which use an absolute Suite Component

 meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.20.1


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

* [PATCH 1/1] Add support for apt sources which use an absolute Suite Component
  2020-07-01 10:51 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
@ 2020-07-01 10:51 ` Felix Mößbauer
  0 siblings, 0 replies; 4+ messages in thread
From: Felix Mößbauer @ 2020-07-01 10:51 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Mößbauer

Signed-off-by: Felix Mößbauer <felix.moessbauer@siemens.com>
---
 meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
index da0d436..f530d7d 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
@@ -86,7 +86,10 @@ def parse_aptsources_list_line(source_list_line):
 
     source, s = re.split("\s+", s, maxsplit=1)
 
-    suite, s = re.split("\s+", s, maxsplit=1)
+    if s.startswith("/"):
+        suite = ""
+    else:
+        suite, s = re.split("\s+", s, maxsplit=1)
 
     components = " ".join(s.split())
 
-- 
2.20.1


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

* Re: [PATCH 0/1] Add support for Suite Component format sources
  2020-07-01 11:24 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
@ 2020-07-01 11:27 ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2020-07-01 11:27 UTC (permalink / raw)
  To: [ext] Felix M????bauer, isar-users

Hi Felix,

first posting already made it.

Note that your name in the sender field is mangled, at least for me. 
It's encoding fine in the patch (and below), though.

On 01.07.20 13:24, [ext] Felix M????bauer wrote:
> This patch adds support to add apt sources in the format of
> deb http://url / which is also known as absolute Suite Component format.
> The current isar version fails on parsing this format.
> 
> A potential use case is to add packages from opensuse.
> 

This belongs into the commit, not the coverletter.

Jan

> Felix Mößbauer (1):
>    Add support for apt sources which use an absolute Suite Component
> 
>   meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

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

* [PATCH 0/1] Add support for Suite Component format sources
@ 2020-07-01 11:24 Felix Mößbauer
  2020-07-01 11:27 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Mößbauer @ 2020-07-01 11:24 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Mößbauer

This patch adds support to add apt sources in the format of
deb http://url / which is also known as absolute Suite Component format.
The current isar version fails on parsing this format.

A potential use case is to add packages from opensuse.

Felix Mößbauer (1):
  Add support for apt sources which use an absolute Suite Component

 meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-07-01 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 10:51 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
2020-07-01 10:51 ` [PATCH 1/1] Add support for apt sources which use an absolute Suite Component Felix Mößbauer
2020-07-01 11:24 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
2020-07-01 11:27 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox