Commit Graph

9 Commits

Author SHA1 Message Date
Richard Purdie
7350e82ce1 scripts: Add copyright statements to files without one
Where there isn't a copyright statement, add one to make it explicit.
Also drop editor config lines where they were present and add license
identifiers as MIT if there isn't one.

(From OE-Core rev: deb3ccec53e0bd63bc4235cf2b0d3fc781687361)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12 11:58:01 +01:00
Richard Purdie
50b85e4855 scripts/oe-package-browser: Handle no packages being built
Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.

[YOCTO #14619]

(From OE-Core rev: b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Richard Purdie
e21c967bd4 scripts/oe-package-browser: Fix after overrides change
After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.

[YOCTO #14619]

(From OE-Core rev: 25a8ec6e2891b71bc280aacaf5f62ecc4b0bd1d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
77bba85df1 oe-pkgdata-browser: Select a matching package when a recipe is selected
When a recipe is selected, automatically select the package that
matches the recipe name (if it exists), otherwise select the first
package.

(From OE-Core rev: 856ca73909b5060c3939f6c55c9c7f38ac699abb)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00
Peter Kjellerstedt
c4f462412f oe-pkgdata-browser: Avoid an extra space for dependencies without version
(From OE-Core rev: aaa7eeb8e1a108ca3a180e8d2f26561b760ea3d7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00
Peter Kjellerstedt
5501713b16 oe-pkgdata-browser: Show file sizes in a human readable format
Just like the package sizes already are shown.

(From OE-Core rev: 8e7a4328a3123e2bcc7fe5fc9d27e4e92160fbb9)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00
Peter Kjellerstedt
49bd49c7c6 oe-pkgdata-browser: Correct the prefix for kilo to "k"
(From OE-Core rev: a07d810ce2679dce994680c41101f211e7b77207)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00
Peter Kjellerstedt
11094a4202 oe-pkgdata-browser: Clean the package view properly
Not all widgets were hidden when no package was selected.

(From OE-Core rev: 6e41c16ed41b63dc20e4d0076e7c3c7f6cb7ee27)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00
Peter Kjellerstedt
133ca624eb oe-pkgdata-browser: Rename from pkgdataui.py
(From OE-Core rev: 2171ad1525f1fb0c13174a1bb77128c99b5dac35)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-10 21:18:22 +00:00