Skip to content

Instantly share code, notes, and snippets.

View hroncok's full-sized avatar

Miro Hrončok hroncok

View GitHub Profile
#!/usr/bin/python3
import bugzilla
import sys
import logging
assert sys.version_info[0] > 2, 'Needs Python 3'
PKG = sys.argv[1]
#!/usr/bin/python3
# Copyright (c) 2020-2021 Fedora Project
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
%spdx() %{lua:
local licenses = require 'fedora.licenses'
local expr = rpm.expand('%*')
local function convert(spdx)
if spdx == '' then
return ''
end
local fedoras = licenses.spdx2fedora[spdx]
if fedoras == nil then
rpm.expand('%{warn:Unknown SPDX license "' .. spdx .. '", using literally}')
import functools
import sys
import dnf
import hawkey
DNF_CACHEDIR = "_dnf_cache_dir"
ARCH = "x86_64"
METALINK = "https://mirrors.fedoraproject.org/metalink"
KOJI = "http://kojipkgs.fedoraproject.org"
@hroncok
hroncok / deadf41.ipynb
Created September 23, 2024 15:09
Fedora 41 packages that should be blocked
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.