Skip to content

Instantly share code, notes, and snippets.

View eclipseo's full-sized avatar

Robert-André Mauchin eclipseo

View GitHub Profile
import solv
import sys
pool = solv.Pool()
pool.setarch()
for r in ('rawhide', 'rawhide-source'):
repo = pool.add_repo(r)
f = solv.xfopen(f'/var/cache/dnf/{r}.solv')
repo.add_solv(f)
#include <locale.h>
#include <stdlib.h>
#include <libsmartcols.h>
#include <solv/policy.h>
#include <solv/pool.h>
#include <solv/poolarch.h>
#include <solv/repo.h>
#include <solv/repo_solv.h>
#include <solv/selection.h>
@ignatenkobrain
ignatenkobrain / README.md
Last active November 9, 2020 10:13
Rust on Side Tags
set release 32
set build (fedpkg verrel)
set pkg (string split -m 2 -r - $build)[1]
set tag (koji add-sidetag f$release-build)

fedpkg clone $pkg
cd $pkg
fedpkg request-branch f$release --no-git-branch