* Re: [meta-oe][patch v5] dnf-plugin-tui: new recipe
2019-08-08 11:24 [meta-oe][patch v5] dnf-plugin-tui: new recipe Zheng Ruoqin
@ 2019-08-08 2:28 ` Zheng, Ruoqin
2019-08-08 4:29 ` Khem Raj
1 sibling, 0 replies; 5+ messages in thread
From: Zheng, Ruoqin @ 2019-08-08 2:28 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Hi
Long time no reply. So I resend it after rebasing on top of master branch, I hope patchwork can capture it.
Best regards.
Zheng Ruoqin
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : zhengrq.fnst@cn.fujistu.com
> -----Original Message-----
> From: Zheng, Ruoqin/郑 若钦
> Sent: Thursday, August 08, 2019 7:24 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst@cn.fujitsu.com>
> Subject: [oe][meta-oe][patch v5] dnf-plugin-tui: new recipe
>
> This dnf plugin aims to supply a tui interface for user to manage packages. It has
> features as following:
> 1. Add new command dnf tui --init to make dnf work on host.
> 2. Text-based user interface for dnf.
> 3. Manage SPDX files.
> 4. Manage SRPM files.
> 5. Add installation samples for dnf.
>
> More details please refer to https://github.com/ubinux/dnf-plugin-tui.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
> .../dnf-plugin-tui/dnf-plugin-tui_git.bb | 38 +++++++++++++++++++
> .../files/oe-remote.repo.sample | 5 +++
> 2 files changed, 43 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-
> tui_git.bb
> create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
>
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> new file mode 100644
> index 000000000..e891868cd
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A text-based user interface plugin of dnf for user to manage
> packages. "
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
> +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
> +PV = "1.0"
> +
> +SRC_URI_append_class-target = "file://oe-remote.repo.sample"
> +
> +inherit distutils3-base
> +
> +S = "${WORKDIR}/git"
> +
> +do_install_append() {
> + install -d ${D}${datadir}/dnf
> + install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
> + install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> + install -m 0755 ${S}/dnf-plugins/mkimg/*
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> + for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
> + install -m 0755 ${S}/dnf-plugins/$file
> ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
> + done
> +}
> +
> +do_install_append_class-target() {
> + install -d ${D}${sysconfdir}/yum.repos.d
> + install -m 0644 ${WORKDIR}/oe-remote.repo.sample
> +${D}${sysconfdir}/yum.repos.d }
> +
> +FILES_${PN} += "${datadir}/dnf"
> +
> +RDEPENDS_${PN} += " \
> + dnf \
> + libnewt-python \
> + "
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-
> remote.repo.sample
> new file mode 100644
> index 000000000..6c4502e17
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sampl
> +++ e
> @@ -0,0 +1,5 @@
> +[base]
> +name=myrepo
> +baseurl=http://127.0.0.1/oe_repo/
> +enabled=1
> +gpgcheck=0
> --
> 2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][patch v5] dnf-plugin-tui: new recipe
2019-08-08 11:24 [meta-oe][patch v5] dnf-plugin-tui: new recipe Zheng Ruoqin
2019-08-08 2:28 ` Zheng, Ruoqin
@ 2019-08-08 4:29 ` Khem Raj
2019-08-08 5:27 ` Adrian Bunk
1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2019-08-08 4:29 UTC (permalink / raw)
To: Zheng Ruoqin, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3077 bytes --]
Thanks for resending. I have some comments below.
On 8/8/19 4:24 AM, Zheng Ruoqin wrote:
> This dnf plugin aims to supply a tui interface for user to manage
> packages. It has features as following:
> 1. Add new command dnf tui --init to make dnf work on host.
> 2. Text-based user interface for dnf.
> 3. Manage SPDX files.
> 4. Manage SRPM files.
> 5. Add installation samples for dnf.
>
> More details please refer to https://github.com/ubinux/dnf-plugin-tui.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
> .../dnf-plugin-tui/dnf-plugin-tui_git.bb | 38 +++++++++++++++++++
> .../files/oe-remote.repo.sample | 5 +++
> 2 files changed, 43 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
>
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> new file mode 100644
> index 000000000..e891868cd
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A text-based user interface plugin of dnf for user to manage packages. "
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
master is default so lets drop setting branch here
> +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
> +PV = "1.0"
Drop PV
> +
> +SRC_URI_append_class-target = "file://oe-remote.repo.sample"
^^
missing space
> +
> +inherit distutils3-base
> +
> +S = "${WORKDIR}/git"
> +
> +do_install_append() {
> + install -d ${D}${datadir}/dnf
> + install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
> + install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> + install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
> + for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
> + install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
> + done
> +}
> +
> +do_install_append_class-target() {
> + install -d ${D}${sysconfdir}/yum.repos.d
> + install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
> +}
> +
> +FILES_${PN} += "${datadir}/dnf"
> +
> +RDEPENDS_${PN} += " \
> + dnf \
> + libnewt-python \
> + "
> +
> +BBCLASSEXTEND = "nativesdk"
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
> new file mode 100644
> index 000000000..6c4502e17
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
> @@ -0,0 +1,5 @@
> +[base]
> +name=myrepo
> +baseurl=http://127.0.0.1/oe_repo/
> +enabled=1
> +gpgcheck=0
>
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2373 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-oe][patch v5] dnf-plugin-tui: new recipe
2019-08-08 4:29 ` Khem Raj
@ 2019-08-08 5:27 ` Adrian Bunk
2019-08-08 15:56 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2019-08-08 5:27 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-devel
On Wed, Aug 07, 2019 at 09:29:24PM -0700, Khem Raj wrote:
>...
> On 8/8/19 4:24 AM, Zheng Ruoqin wrote:
>...
> > diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
>...
> > +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
> > +PV = "1.0"
>
> Drop PV
>...
This is needed when the file is named _git.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-oe][patch v5] dnf-plugin-tui: new recipe
@ 2019-08-08 11:24 Zheng Ruoqin
2019-08-08 2:28 ` Zheng, Ruoqin
2019-08-08 4:29 ` Khem Raj
0 siblings, 2 replies; 5+ messages in thread
From: Zheng Ruoqin @ 2019-08-08 11:24 UTC (permalink / raw)
To: openembedded-devel
This dnf plugin aims to supply a tui interface for user to manage
packages. It has features as following:
1. Add new command dnf tui --init to make dnf work on host.
2. Text-based user interface for dnf.
3. Manage SPDX files.
4. Manage SRPM files.
5. Add installation samples for dnf.
More details please refer to https://github.com/ubinux/dnf-plugin-tui.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
.../dnf-plugin-tui/dnf-plugin-tui_git.bb | 38 +++++++++++++++++++
.../files/oe-remote.repo.sample | 5 +++
2 files changed, 43 insertions(+)
create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
create mode 100644 meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
new file mode 100644
index 000000000..e891868cd
--- /dev/null
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
@@ -0,0 +1,38 @@
+SUMMARY = "A text-based user interface plugin of dnf for user to manage packages. "
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
+SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
+PV = "1.0"
+
+SRC_URI_append_class-target = "file://oe-remote.repo.sample"
+
+inherit distutils3-base
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+ install -d ${D}${datadir}/dnf
+ install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
+ install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+ install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+ for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
+ install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
+ done
+}
+
+do_install_append_class-target() {
+ install -d ${D}${sysconfdir}/yum.repos.d
+ install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
+}
+
+FILES_${PN} += "${datadir}/dnf"
+
+RDEPENDS_${PN} += " \
+ dnf \
+ libnewt-python \
+ "
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
new file mode 100644
index 000000000..6c4502e17
--- /dev/null
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/files/oe-remote.repo.sample
@@ -0,0 +1,5 @@
+[base]
+name=myrepo
+baseurl=http://127.0.0.1/oe_repo/
+enabled=1
+gpgcheck=0
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-oe][patch v5] dnf-plugin-tui: new recipe
2019-08-08 5:27 ` Adrian Bunk
@ 2019-08-08 15:56 ` Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2019-08-08 15:56 UTC (permalink / raw)
To: Adrian Bunk; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 881 bytes --]
On 8/7/19 10:27 PM, Adrian Bunk wrote:
> On Wed, Aug 07, 2019 at 09:29:24PM -0700, Khem Raj wrote:
>> ...
>> On 8/8/19 4:24 AM, Zheng Ruoqin wrote:
>> ...
>>> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
>> ...
>>> +SRCREV = "31d6866d5eda02be9a6bfb1fca9e9095b12eecd1"
>>> +PV = "1.0"
>>
>> Drop PV
>> ...
>
> This is needed when the file is named _git.
From feeds point of view, PR would do so its not a dealbreaker, secondly
my assumption was in this case it was set sythesized, and eventually
package might release starting 0.0.1 or somesuch but when I looked into
the component code, then 1.0 is a real release [1], therefore it is ok.
>
> cu
> Adrian
>
[1]
https://github.com/ubinux/dnf-plugin-tui/commit/31d6866d5eda02be9a6bfb1fca9e9095b12eecd1
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2373 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-08-08 15:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-08 11:24 [meta-oe][patch v5] dnf-plugin-tui: new recipe Zheng Ruoqin
2019-08-08 2:28 ` Zheng, Ruoqin
2019-08-08 4:29 ` Khem Raj
2019-08-08 5:27 ` Adrian Bunk
2019-08-08 15:56 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.