Assign a system using:
The system is registered for subscriptions and insights:
rhc connect
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"slices" | |
"time" | |
) |
{ | |
"rpm-advisory-diff-repo":"https://fixtures.pulpproject.org/rpm-advisory-diff-repo/", | |
"rpm-advisory-diffpkgs":"https://fixtures.pulpproject.org/rpm-advisory-diffpkgs/", | |
"rpm-advisory-incomplete-package-list":"https://fixtures.pulpproject.org/rpm-advisory-incomplete-package-list/", | |
"rpm-advisory-no-update-date":"https://fixtures.pulpproject.org/rpm-advisory-no-update-date/", | |
"rpm-alt-layout":"https://fixtures.pulpproject.org/rpm-alt-layout/", | |
"rpm-complex-pkg":"https://fixtures.pulpproject.org/rpm-complex-pkg/", | |
"rpm-distribution-tree":"https://fixtures.pulpproject.org/rpm-distribution-tree/", | |
"rpm-distribution-tree-changed-addon":"https://fixtures.pulpproject.org/rpm-distribution-tree-changed-addon/", | |
"rpm-distribution-tree-changed-main":"https://fixtures.pulpproject.org/rpm-distribution-tree-changed-main/", |
#!/bin/bash | |
ORG_ID="$1" | |
USER_NAME="$2" | |
ACCOUNT_ID="$3" | |
function print_out_usage { | |
cat <<EOF | |
Usage: ./scripts/header.sh <org_id> [user_name] |
package main | |
import ( | |
"encoding/json" | |
"time" | |
"github.com/content-services/content-sources-backend/pkg/api" | |
"github.com/content-services/content-sources-backend/pkg/config" | |
"github.com/content-services/content-sources-backend/pkg/dao" | |
"github.com/content-services/content-sources-backend/pkg/db" |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"net/http" | |
"sync" | |
"github.com/content-services/content-sources-backend/pkg/config" |
mvn clean package --projects org.openapitools:openapi-generator-cli,org.openapitools:openapi-generator
# run it in debug mode on port 8888
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8888 -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i api.json.1 -g ruby -o pulpcore-client --additional-properties=gemName=pulpcore_client,gemLicense="GPL-2.0+",gemVersion=3.17.1 --library=faraday --skip-validate-spec --strict-spec=false
{ | |
"openapi": "3.0.2", | |
"info": { | |
"title": "SimpleTest", | |
"version": "1.0.0", | |
"description": "" | |
}, | |
"paths": { | |
"/testresponses": { | |
"summary": "Path used to manage the list of testresponses.", |
Katello::ContentView.non_default.each do |cv| | |
Katello::Repository.in_default_view.each do |library_instance| | |
cv.versions.with_library_repo(library_instance).each do |version| | |
if version.archived_repos.find_by(:library_instance_id => library_instance.id).nil? | |
found = version.repositories.find_by(:library_instance_id => library_instance.id) | |
puts "#{cv.name} #{version.version}: #{library_instance.name} : env repo: #{found.id} in #{found.environment&.name}" | |
end | |
end | |
end | |
end ; nil |
$ cat ~/bin/rails-start | |
#!/usr/bin/bash | |
cd ~/git/foreman | |
rm log/development.log | |
export DISABLE_SPRING=1 | |
export NOTIFICATIONS_POLLING=999999 | |
be puma -b 'tcp://0.0.0.0' -p 3000 #-w 1 | |
#rails s -b '0.0.0.0' |