-
Notifications
You must be signed in to change notification settings - Fork 94
LCORE-1356: Hermetic build demo slides #1331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <!doctype html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
| <title>Fixing CVEs in hermetic build environment</title> | ||
| <link rel="stylesheet" href="dist/reset.css"> | ||
| <link rel="stylesheet" href="dist/reveal.css"> | ||
| <link rel="stylesheet" href="dist/theme/simple.css"> | ||
| <!--link rel="stylesheet" href="plugin/highlight/monokai.css"--> | ||
| <link rel="stylesheet" href="plugin/highlight/github.css"> | ||
| </head> | ||
| <body> | ||
| <div class="reveal"> | ||
| <div class="slides"> | ||
| <section data-markdown="cve_hermetic_build.md"> | ||
| </section> | ||
| </div> | ||
| </div> | ||
| <script type="application/javascript" src="dist/reveal.js"></script> | ||
| <script type="application/javascript" src="plugin/notes/notes.js"></script> | ||
| <script type="application/javascript" src="plugin/markdown/markdown.js"></script> | ||
| <script type="application/javascript" src="plugin/highlight/highlight.js"></script> | ||
| <script type="application/javascript"> | ||
| Reveal.initialize({ | ||
| controls: true, | ||
| progress: true, | ||
| history: true, | ||
| center: true, | ||
| plugins: [ RevealMarkdown, RevealHighlight ] | ||
| }); | ||
| </script> | ||
| </body> | ||
| </html> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,54 @@ | ||||||||||||||||
| # Lightspeed Core | ||||||||||||||||
|
|
||||||||||||||||
|  | ||||||||||||||||
|
|
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| # Fixing CVEs in hermetic build environment | ||||||||||||||||
|
|
||||||||||||||||
| Pavel Tišnovský, | ||||||||||||||||
| ptisnovs@redhat.com | ||||||||||||||||
|
|
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## Hermetic build | ||||||||||||||||
|
|
||||||||||||||||
| * Downloads all sdists | ||||||||||||||||
| * Network is disabled | ||||||||||||||||
| * All packages are built w/o network access | ||||||||||||||||
| * Results will be added into the dest. image | ||||||||||||||||
|
|
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## Types of packages | ||||||||||||||||
|
|
||||||||||||||||
| * With sources (sdist) | ||||||||||||||||
| * With sources, but with time consuming build | ||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hyphenate compound adjective for clarity. Line 26 should use “time-consuming build”. 🧰 Tools🪛 LanguageTool[grammar] ~26-~26: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) 🤖 Prompt for AI Agents |
||||||||||||||||
| * Without sources (binary wheels) | ||||||||||||||||
| * `pip` is special a bit | ||||||||||||||||
|
|
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## Solution proposed by RH | ||||||||||||||||
|
|
||||||||||||||||
| * Standard Python registry | ||||||||||||||||
| * RH Python registry with pre-built packages | ||||||||||||||||
|
|
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## How to fix CVE? | ||||||||||||||||
|
|
||||||||||||||||
| * Package in PyPi? | ||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix package index capitalization ( Line 41 uses 🤖 Prompt for AI Agents |
||||||||||||||||
| - update lockfile + requirements file | ||||||||||||||||
| - ETA - hours | ||||||||||||||||
| * Package in RH Python registry | ||||||||||||||||
| - ask on forum-aipcc | ||||||||||||||||
| - exact workflow to be defined + refined | ||||||||||||||||
| - ETA - days (!!!) | ||||||||||||||||
| * `pip` package | ||||||||||||||||
| - dunno ATM :( | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+47
to
+50
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use neutral/professional wording for external-facing slides. Lines 47–50 ( Suggested wording-* Package in RH Python registry
- - ask on forum-aipcc
- - exact workflow to be defined + refined
- - ETA - days (!!!)
+* Package in RH Python registry
+ - ask on forum-aipcc
+ - exact workflow to be defined and refined
+ - ETA: days
-* `pip` package
- - dunno ATM :(
+* `pip` package
+ - workflow TBD📝 Committable suggestion
Suggested change
🧰 Tools🪛 LanguageTool[style] ~47-~47: Using many exclamation marks might seem excessive (in this case: 3 exclamation marks for a text that’s 707 characters long) (EN_EXCESSIVE_EXCLAMATION) 🤖 Prompt for AI Agents |
||||||||||||||||
| --- | ||||||||||||||||
|
|
||||||||||||||||
| ## Thank you | ||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
user-scalable=noto avoid blocking zoom accessibility.Line 5 disables user zoom, which is an accessibility blocker in browser/mobile contexts.
Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents