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; 3+ 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] 3+ 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; 3+ 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] 3+ messages in thread

* [PATCH 1/1] Add support for apt sources which use an absolute Suite Component
  2020-07-01 11:24 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
@ 2020-07-01 11:24 ` Felix Mößbauer
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Mößbauer @ 2020-07-01 11:24 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] 3+ messages in thread

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

Thread overview: 3+ 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:24 ` [PATCH 1/1] Add support for apt sources which use an absolute Suite Component Felix Mößbauer

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