Skip to content

Instantly share code, notes, and snippets.

View lsandov1's full-sized avatar

Leonardo Sandoval lsandov1

  • Red Hat
  • Guadalajara, Mexico
  • 07:01 (UTC -12:00)
View GitHub Profile
== Patching in the YP
. <<anchor-git-basics,Basics>> Git commands
. Table of YP's <<anchor-yp-repositories, Repositories>>
. Patch's <<anchor-patch-creation,creation>>
. Patch's <<anchor-patch-submission,submission>>
. <<anchor-post-patch, Post-patch>> submission
. <<anchor-good-os-practices,Good OpenSource practices>>
. <<anchor-scripts, Scritps>>
. <<anchor-links, Links>>
== Patching in the YP
. <<anchor-git-basics,Basics>> Git commands
. Table of YP's <<anchor-yp-repositories, Repositories>>
. Patch's <<anchor-patch-creation,creation>>
. Patch's <<anchor-patch-submission,submission>>
. <<anchor-post-patch, Post-patch>> submission
. <<anchor-good-os-practices,Good OpenSource practices>>
. <<anchor-scripts, Scritps>>
. <<anchor-links, Links>>
Pseudocode
# first part: remove disable accounts
disabled_accounts = query("where"=> "status is pause or delete") # This is a Ooyala V2 Request
for each disabled_account in disabled_accounts
remove disabled_account folder on webDav server (there is no need to mark embed code's as deleted, I believe)
# second part: remove delete assets on (live) accounts
accounts = query("where" => "status is live") # This is an Ooyala V2 Request
for each account in accounts
@lsandov1
lsandov1 / gist:2f72c841cc0e1aa739c311c06fda2bdc
Created November 15, 2016 16:20
Create buildstats data plots
PPLIMAGE='set terminal png fontscale 1 size 1280,720'
function bsplots() {
local STAT=$1
OUT="set output '$STAT.task-recipe.png'"
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -n 20 > input.gpl
gnuplot -e "$GPLIMAGE;$OUT" input.gpl
OUT="set output '$STAT.task.png'"
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -S > input.gpl
gnuplot -e "$GPLIMAGE;$OUT" input.gpl
Patchtest
From Intelpedia
Patchtest
Patchtest is community project which aims to do basic checks for community patches that get into the Openembedded-Core mailing list. Patchtest gets patches from Patchwork and execute the suite defined on Patchtest-OE, the latter containing checks that apply to OpenEmbedded-Core project.
Current server running patchtest (patchtest.yocto.io) through a cronjob can be reached through this ssh config
Host yoctoiojump
$ sudo swupd bundle-list | grep dev-utils
dev-utils
dev-utils-dev
$ swupd bundle-list | grep dev-utils
Error: Failed to retrieve 30880 MoM manifest
Warning: Could not determine which installed bundles are experimental
dev-utils
dev-utils-dev
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
-*- mode: compilation; default-directory: "/ext/repos/tf-a-m-static-check/" -*-
Compilation started at Thu Sep 3 11:36:47
make TF-M-CI-SCRIPTS-REPO=/home/lsandov1/repos/tf-m/tf-m-ci-scripts tf-m-coverity
rm -rf /ext/repos/tf-a-m-static-check/workspace
mkdir -p /ext/repos/tf-a-m-static-check/workspace
- job:
name: tf-a-builder
project-type: freestyle
defaults: global
properties:
- build-discarder:
days-to-keep: 180
num-to-keep: 180
- authorization:
anonymous:
diff -u /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-a-build/Dockerfile /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-m-build/Dockerfile
--- /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-a-build/Dockerfile 2020-10-30 11:27:16.014786401 -0600
+++ /home/lsandov1/repos/tf/dockerfiles/bionic-amd64-tf-m-build/Dockerfile 2020-10-30 11:11:52.069777265 -0600
@@ -93,10 +93,14 @@
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+## Latest toolchains, available in $PATH. There can be newer versions of toolchains at
+## upstream projects but these are latest for the docker image
+