-
Notifications
You must be signed in to change notification settings - Fork 275
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
Enhancing The Update Framework (Python - TUF) README #2655
Conversation
@trishankatdatadog @JustinCappos please review this PR for the issue #2654 |
This change makes the logo invisible with default GitHub settings (You are using dark theme on GitHub so see the opposite effect). |
To ensure the logo is visible in both light and dark themes, a solution that automatically switches the logo based on the user's selected theme preference can be implemented. This strategy involves utilizing two different logo versions (one for light theme and one for a dark theme) and utilizing HTML and CSS to manage the theme-based switching. |
Pull Request Test Coverage Report for Build 9544443646Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@jku it works for both light and dark theme now. please have a look |
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.
I've not looked at the text content changes(would appreciate someone else having a look).
Structural changes look nice (like use of actual headers) but I left comments on the urls etc
Sorry, I'm running out of B/W... please try someone else? @jku has been massively helpful here, thanks! |
@jku already left a thorough review here. From what I see, the key improvement of this PR is to use the correct markup for the section headers. @shubhusion, do you plan to address the review comments? |
@lukpueh yeah I will make changes as specified |
…mework#2642) * Make commands easier to copy Signed-off-by: h4l0gen <[email protected]> Signed-off-by: Kapil Sharma <[email protected]> Signed-off-by: shubhusion <[email protected]>
Bumps the test-and-lint-dependencies group with 2 updates: [coverage](https://github.com/nedbat/coveragepy) and [ruff](https://github.com/astral-sh/ruff). Updates `coverage` from 7.5.2 to 7.5.3 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@7.5.2...7.5.3) Updates `ruff` from 0.4.5 to 0.4.7 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.5...v0.4.7) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: shubhusion <[email protected]>
* repository: Handle online key change situations in do_snapshot() and do_timestamp(): always create a new version if current version is not correctly signed * remove expectedFailure marks from the related tests Signed-off-by: h4l0gen <[email protected]> Signed-off-by: Kapil Sharma <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: shubhusion <[email protected]>
Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
…mework#2657) Bumps the dependencies group with 2 updates: [cryptography](https://github.com/pyca/cryptography) and [securesystemslib[crypto,pynacl]](https://github.com/secure-systems-lab/securesystemslib). Updates `cryptography` from 42.0.7 to 42.0.8 - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@42.0.7...42.0.8) Updates `securesystemslib[crypto,pynacl]` from 1.0.0 to 1.1.0 - [Release notes](https://github.com/secure-systems-lab/securesystemslib/releases) - [Changelog](https://github.com/secure-systems-lab/securesystemslib/blob/main/CHANGELOG.md) - [Commits](secure-systems-lab/securesystemslib@v1.0.0...v1.1.0) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: securesystemslib[crypto,pynacl] dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: shubhusion <[email protected]>
Bumps the test-and-lint-dependencies group with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.4.7 to 0.4.8 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.7...v0.4.8) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]> Signed-off-by: shubhusion <[email protected]>
Bumps the test-and-lint-dependencies group with 2 updates: [coverage](https://github.com/nedbat/coveragepy) and [ruff](https://github.com/astral-sh/ruff). Updates `coverage` from 7.5.2 to 7.5.3 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@7.5.2...7.5.3) Updates `ruff` from 0.4.5 to 0.4.7 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.5...v0.4.7) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the test-and-lint-dependencies group with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.4.7 to 0.4.8 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.7...v0.4.8) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-and-lint-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: shubhusion <[email protected]>
Signed-off-by: shubhusion <[email protected]>
Signed-off-by: SHUBHAM SHARMA <[email protected]>
Pull Request Test Coverage Report for Build 10125811756Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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.
- There are now unused pngs included in the PR: please remove those
- There are some issues with the CNCF section at the bottom, left a comment there
Note to PR merger: If the pngs are in any commit in the PR, this should be squash merged to prevent them from being part of git history
## <div align="center"> The Update Framework (TUF) is a CNCF graduated project </div> | ||
|
||
<div align="center"> | ||
<a href="https://www.cncf.io/"> | ||
<picture> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/shubhusion/python-tuf/blob/develop/cncf-white.png"> | ||
<source media="(prefers-color-scheme: light)" srcset="https://github.com/shubhusion/python-tuf/blob/develop/cncf-black.png"> | ||
<img src="https://github.com/shubhusion/python-tuf/blob/develop/cncf-black.png" height="150" alt="TUF" style="background-color:white"/> | ||
</picture> | ||
</a> | ||
</div> |
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.
- links to "https://github.com/shubhusion/ are still not ok
- I also wonder if CNCF really needs a second level title and a huge logo in addition to the acknowledgement it already had. We could just tweak the previous CNCF reference in "Acknowledgements" to include the mention of being a graduated project?
I'm closing this since no action in 2 months. Please reopen if you get to it at a later date |
Description of the changes being introduced by the pull request:
Table of Contents: Added a Table of Contents to improve navigation and accessibility within the README.
Logo Color: Changed the logo color from black to white to enhance visibility and improve the overall aesthetic of the document.
Additional Badges: Included additional badges to highlight key aspects such as version, license, tech-stack, and community support, providing users with quick access to essential information.
Back to Top Button: Added a "Back to Top" button at the bottom of the README to facilitate easy navigation within the document.
Installation Section: Added an Installation section to provide users with clear guidance on how to install the software.
Contact Section Enhancement: Separated the Mailing List and CNCF Slack links for better readability and organization within the Contact section.
CNCF Logo Addition: Added the CNCF logo at the bottom of the README to acknowledge the project's affiliation with the Cloud Native Computing Foundation.
Before:
After:
Fixes #2654
Reviewers:
@trishankatdatadog @JustinCappos