Giter Club home page Giter Club logo

Comments (15)

matthewrsj avatar matthewrsj commented on July 24, 2024

It would probably not be difficult to write a script to generate this list

Here's the script to get you includes per bundle:

for i in `sudo swupd bundle-list --all`; do echo $i && echo "===========" && unbundle $i <path/to/clr-bundles/repository/> --bundles && echo; done

Simple change to get you all packages in a bundle (including packages in the included bundles), just remove the --bundles flag:

for i in `sudo swupd bundle-list --all`; do echo $i && echo "===========" && unbundle $i <path/to/clr-bundles/repository/> && echo; done

from clear-linux-documentation.

mltullis avatar mltullis commented on July 24, 2024

We have an old script we've used to generate an HTML table with all the latest bundle info. We're dusting that off and are looking at CI for ongoing use to keep this up to date. I'll have more info in a day or two.

from clear-linux-documentation.

matthewrsj avatar matthewrsj commented on July 24, 2024

If your script was last used in October it wasn't taking pundles into consideration. Keep in mind that we now publish pundles via the clr-bundles/packages file as well. These are exposed as regular bundles to the user so should be reported in this page.

from clear-linux-documentation.

mltullis avatar mltullis commented on July 24, 2024

Adding @mvincerx into this discussion.

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

I've got a new branch started with all updated bundles. Just learning how to include pundles. I'm communicating with @matthewrsj

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

@mltullis. FYI only: package-scope bundles don't currently have descriptors:
https://github.com/clearlinux/clr-bundles/blob/master/packages

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

#127

from clear-linux-documentation.

mltullis avatar mltullis commented on July 24, 2024

#127 is merged and goes live this afternoon. Part of this was a manual update. We'll continue to work on the automation.

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

@mltullis, @matthewrsj advised me on a new way to bring in the "latest" bundles using the for loop he gives above. (I just have to re-install CL on my NUC to do so, and rebuild the HTML table manually again.)
For this, I'll open a new PR since this one is merged. Phase 2: Let's discuss the automation more next week.

from clear-linux-documentation.

mltullis avatar mltullis commented on July 24, 2024

We'll keep this open for another few days while we validate the latest list and finalize the automation.

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

@matthewrsj, if you have time this weekend, can you please advise? See also my email.

From where (in directory/ forked repo) do you run this command?:
for i insudo swupd bundle-list --all; do echo $i && echo "===========" && unbundle $i <path/to/clr-bundles/repository/> --bundles && echo; done

for i insudo swupd bundle-list --all; do echo $i && echo "===========" && unbundle $i <path/to/clr-bundles/repository/> --bundles && echo; done

from clear-linux-documentation.

matthewrsj avatar matthewrsj commented on July 24, 2024

From where (in directory/ forked repo) do you run this command?

Doesn't matter, as long as you replace everything inside the <...> with the path to cloned clr-bundles repository. Let me give you a few more instructions.

Let's just do this in your home directory.

sudo swupd bundle-add os-clr-on-clr     # this gets you the unbundle tool
cd ~
git clone https://github.com/clearlinux/clr-bundles.git
for i in `sudo swupd bundle-list --all`; do echo $i && echo "===========" && \
        unbundle $i ~/clr-bundles --bundles && echo; done 1> bundles

Those commands above will throw the complete list of all Clear Linux bundles and their included bundles into the bundles file. You can view/edit this file by running

vi ~/bundles

Each section will look like this:

R-basic
===========
R-basic
libX11client
os-core

The first line is the title of the bundle, followed by a separator, followed by the recursively included bundles. Keep in mind this list will include the bundle itself (in this case R-basic) and the implicitly-included os-core bundle. You probably want to filter those out.

Let me know if you have any more questions.

from clear-linux-documentation.

matthewrsj avatar matthewrsj commented on July 24, 2024

btw, you can just copy that command block and paste it into your terminal with no modification needed.

from clear-linux-documentation.

mvincerx avatar mvincerx commented on July 24, 2024

Thanks, Matthew. Silly me. I overlooked the embedded file path in the previous script. Too many PRs to complete by COB Friday. :)

from clear-linux-documentation.

tpleavitt avatar tpleavitt commented on July 24, 2024

This issue has been resolved and there is an associate jira to track enhancements to this.

from clear-linux-documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.