Skip to content

Instantly share code, notes, and snippets.

Avatar

Robert-André Mauchin eclipseo

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am eclipseo on github.
  • I am eclipseo (https://keybase.io/eclipseo) on keybase.
  • I have a public key whose fingerprint is B5CE 0F62 7DEA 5742 65A2 48E6 392B 133D 6C19 D0F9

To claim this, I am signing this object:

@eclipseo
eclipseo / README.md
Last active Dec 20, 2020
Golang on Side Tags
View README.md
set release 33
set build (fedpkg verrel)
set pkg (string split -m 2 -r - $build)[1]
set tag (fedpkg request-side-tag --base-tag f$release-build | grep -oE "(f[0-9]{2}-build-side-[0-9]{5})" | head -1)

fedpkg clone $pkg
cd $pkg
fedpkg request-branch f$release --no-git-branch
@eclipseo
eclipseo / README.md
Last active Nov 9, 2020 — forked from ignatenkobrain/README.md
Rust on Side Tags
View README.md
set release 32
set build (fedpkg verrel)
set pkg (string split -m 2 -r - $build)[1]
set tag (fedpkg request-side-tag --base-tag f$release-build | grep -oE "(f[0-9]{2}-build-side-[0-9]{5})" | head -1)

fedpkg clone $pkg
cd $pkg
fedpkg request-branch f$release --no-git-branch
@eclipseo
eclipseo / check-anitya.py
Last active Dec 22, 2019
Tool to register packages with Anitya
View check-anitya.py
import aiohttp
import asyncio
import os
import sys
import time
from subprocess import CalledProcessError, check_output
# Anitya access token
TOKEN = ''
@eclipseo
eclipseo / golang-setup.py
Created Mar 29, 2019
Tool to register Golang packages in Anitya
View golang-setup.py
import asyncio
import aiohttp
import sys
import os
from subprocess import CalledProcessError, check_output
def get_data(pkg):
data = {}
spec = os.path.join(pkg, pkg + '.spec')
try:
@eclipseo
eclipseo / rust-setup.py
Created Mar 22, 2019
Add new rust packages to Anitya and assign Rust SIG commit rights
View rust-setup.py
import asyncio
import aiohttp
import sys
import os
def get_subdirectories(dir):
return [name for name in os.listdir(dir)
if os.path.isdir(os.path.join(dir, name))]
async def main(paths):