Skip to content

Instantly share code, notes, and snippets.

View hennevogel's full-sized avatar
🍻
Ewiger Feierabend

Henne Vogelsang hennevogel

🍻
Ewiger Feierabend
View GitHub Profile
@hennevogel
hennevogel / StaleIssueMessages.md
Created June 28, 2023 13:33
Stale Issue Messages

Stale Issues

Hey there @person_that_opened_this_issue!

Since your {Bug,Feature Request} was last updated N months ago, we marked it as stale.

{Bugs,Feature Requests} like yours may become stale because they "compete" with all the other issues and additional ideas / tasks for our contributors' limited time.

[8] pry(main)> request.auto_accept
run_as BEFORE
#current in ["/srv/www/obs/api/app/models/user.rb:247:in `session'", "/srv/www/obs/api/app/models/user.rb:869:in `run_as'", "/srv/www/obs/api/app/models/bs_request.rb:889:in `block in auto_accept'", "/srv/www/obs/api/app/models/bs_request.rb:883:in `auto_accept'", "(pry):8:in `__pry__'", "bin/rails:4:in `require'", "bin/rails:4:in `<main>'"]
#session=
#current in ["/srv/www/obs/api/app/models/user.rb:247:in `session'", "/srv/www/obs/api/app/models/user.rb:240:in `session!'", "/srv/www/obs/api/app/models/bs_request.rb:890:in `block (2 levels) in auto_accept'", "/srv/www/obs/api/app/models/user.rb:872:in `run_as'", "/srv/www/obs/api/app/models/bs_request.rb:889:in `block in auto_accept'", "/srv/www/obs/api/app/models/bs_request.rb:883:in `auto_accept'", "(pry):8:in `__pry__'", "bin/rails:4:in `require'", "bin/rails:4:in `<main>'"]
#current in ["/srv/www/obs/api/app/models/user.rb:247:in `session'", "/srv/www/obs/api/app/models/user.rb:240:in `session!'", "/srv/ww
@hennevogel
hennevogel / pg-gem_make.out
Last active February 9, 2022 15:19
pg compile error
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/bundler20220209-7003-7jrib8pg-1.3.1/gems/pg-1.3.1/ext
/usr/bin/ruby.ruby3.1 -I /usr/lib64/ruby/3.1.0 -r ./siteconf20220209-7003-dspmoi.rb extconf.rb
Calling libpq with GVL unlocked
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for whether -Wl,-rpath,/usr/lib/postgresql12/lib64 is accepted as LDFLAGS... yes
Using libpq from /usr/lib/postgresql12/lib64
checking for libpq-fe.h... yes
@hennevogel
hennevogel / who.rb
Created September 28, 2021 14:13
Get the information logins via SSH key
# frozen_string_literal: true
# journalctl -u sshd --utc -o json --since "6 hours ago" | ruby who.rb
# written by Victor Pereira <vpereira@suse.com>
require 'json'
require 'open3'
require 'optparse'
class JournalLog
def self.parse
return [] if STDIN.tty?
@hennevogel
hennevogel / steps.md
Last active September 21, 2021 13:00
workflow:
  steps:
    - branch_package:
        source_project: OBS:Server:Unstable
        source_package: obs-server
        repositories:
          openSUSE_15.3:
            - x86_64
 openSUSE_Factory:
@token = Token::Workflow.new(scm_access_token: '$GITHUB_ACCESS_TOKEN')
Webhook comes in from github
@token.call
-> branch
-> create EventSubscription
-> Event::BuildFail for package blah happens
-> notify github with @token.scm_access_token
pull-request: # The workflow name
runs_on: pull_request # limits this workflow to this Github/Gitlab event
project: home:hennevogel:myfirstproject:$PR_NUMBER # operates on this project
prjconf: dist/obs/prjconf # Will add the content of this file inside the SCM as prjconf
steps:
repositories: # runs @project.repositores.create(...)
- project: openSUSE_Factory
repo: standard
arch: x86_64
flags: # runs @project.flags.create(...)
13:30:48 clock.1 | E, [2020-10-13T13:30:48.021540 #829] ERROR -- : class or module required (TypeError)
13:30:48 clock.1 | /obs/src/api/app/lib/backend/logger.rb:28:in `instance_of?'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/logger.rb:28:in `info'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/connection.rb:30:in `get'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/connection_helper.rb:50:in `http_get'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/api/build_results/worker.rb:11:in `status'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/remember_location.rb:15:in `call'
13:30:48 clock.1 | /obs/src/api/app/lib/backend/remember_location.rb:15:in `block in singleton_method_added'
13:30:48 clock.1 | /obs/src/api/app/models/worker_status.rb:40:in `update_workerstatus_cache'
13:30:48 clock.1 | /obs/src/api/config/clock.rb:23:in `block in <module:Clockwork>'

Full Stack Web Developer - Open Build Service

Location: Near CET Timezone. Home Office / Nürnberg / Prague

Our Product

At this position you will work on the Open Build Service (OBS). A massive Ruby on Rails/Perl collaboration platform to maintain, build and distribute software. It helps SUSE Engineering, our partners and community developers to ship software for a wide range of operating systems and hardware architectures. The OBS makes it easy to harness the power of the open source development model by providing all the collaborative workflows needed.

https://openbuildservice.org/

Our Team

At SUSE, we have a dedicated team of engineers who work, as part of the global free software community, to continually improve the quality and functionality of the Open Build Service and to provide SUSE/openSUSE developers with the enterprise-quality service they've come to expect. This is our team, the Build Solutions team.

@hennevogel
hennevogel / idea2done.md
Last active October 16, 2019 09:12
IdeaToDone

Phases of Development in the Build Solutions Team

When we want address a new field of work together as a team we go through the phases below. We track progress on our Opportunity Backlog.

Opportunities

Our PO (plus however is neded) takes an opportunity and gathers understanding of what the customers want and how we’re helping them. With this knowledge we build a story map with all the things you would need for a MVP/Skateboard/Walking Skeleton.

to Discovery