Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make cosa diff support passing in the architecture #3987

Open
dustymabe opened this issue Dec 11, 2024 · 0 comments
Open

make cosa diff support passing in the architecture #3987

dustymabe opened this issue Dec 11, 2024 · 0 comments
Labels
jira for syncing to jira

Comments

@dustymabe
Copy link
Member

Something like this should work:

cosa buildfetch --arch=ppc64le --build=40.20241017.20.0 --artifact=ostree
cosa buildfetch --arch=ppc64le --build=40.20241019.20.0 --artifact=ostree
cosa diff --arch=ppc64le --from=40.20241017.20.0 --to=40.20241019.20.0 --rpms

but right now cosa diff doesn't take in an --arch argument and definitely doesn't work if you aren't on the architecture you want to get information about.

@dustymabe dustymabe added the jira for syncing to jira label Dec 11, 2024
nikita-dubrovskii added a commit to nikita-dubrovskii/coreos-assembler that referenced this issue Jan 15, 2025
This adds '--arch' argument to pass architecture you want to get information about.
By default current arch is used.

```
$ uname -m
x86_64
$ cosa diff --arch=s390x --from=41.20250101.20.0 --to=41.20250114.20.0 --rpms
ostree diff commit from: c3fe29653cf0ebd1d093b1a55cf9ac79a386373e71f64c67769f904332ba0ca6
ostree diff commit to:   988aa49471f406354274bc013c1102004dad25000862df68472d6058fcb00f8b
Upgraded:
  audit 4.0.2-1.fc41 -> 4.0.3-1.fc41
  audit-libs 4.0.2-1.fc41 -> 4.0.3-1.fc41
  ...
```

Issue: coreos#3987
nikita-dubrovskii added a commit to nikita-dubrovskii/coreos-assembler that referenced this issue Jan 17, 2025
This adds '--arch' argument to pass architecture you want to get information about.
By default current arch is used.

```
$ uname -m
x86_64
$ cosa diff --arch=s390x --from=41.20250101.20.0 --to=41.20250114.20.0 --rpms
ostree diff commit from: c3fe29653cf0ebd1d093b1a55cf9ac79a386373e71f64c67769f904332ba0ca6
ostree diff commit to:   988aa49471f406354274bc013c1102004dad25000862df68472d6058fcb00f8b
Upgraded:
  audit 4.0.2-1.fc41 -> 4.0.3-1.fc41
  audit-libs 4.0.2-1.fc41 -> 4.0.3-1.fc41
  ...
```

Issue: coreos#3987
jlebon pushed a commit that referenced this issue Jan 17, 2025
This adds '--arch' argument to pass architecture you want to get information about.
By default current arch is used.

```
$ uname -m
x86_64
$ cosa diff --arch=s390x --from=41.20250101.20.0 --to=41.20250114.20.0 --rpms
ostree diff commit from: c3fe29653cf0ebd1d093b1a55cf9ac79a386373e71f64c67769f904332ba0ca6
ostree diff commit to:   988aa49471f406354274bc013c1102004dad25000862df68472d6058fcb00f8b
Upgraded:
  audit 4.0.2-1.fc41 -> 4.0.3-1.fc41
  audit-libs 4.0.2-1.fc41 -> 4.0.3-1.fc41
  ...
```

Issue: #3987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira for syncing to jira
Projects
None yet
Development

No branches or pull requests

1 participant