Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add the images folder in triggers sync config #351

Closed
wants to merge 1 commit into from

Conversation

afrittoli
Copy link
Member

Changes

Pull in SVG images from triggers docs/images into the main docs
folder, so that we can display it correctly.

Partially addresses #340

Signed-off-by: Andrea Frittoli andrea.frittoli@gmail.com

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 15, 2022
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 15, 2022
@afrittoli afrittoli force-pushed the triggers_diagram branch 4 times, most recently from 997aff6 to 68cc938 Compare February 17, 2022 09:53
Pull in SVG images from triggers docs/images into the main docs
folder, so that we can display it correctly.

Handle rewriting links in images with the "src" attribute.
Extend unit tests accordingly.

Partially addresses tektoncd#340

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
@tekton-robot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 18, 2022
@tekton-robot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten with a justification.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle rotten

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 17, 2022
@tekton-robot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen with a justification.
Mark the issue as fresh with /remove-lifecycle rotten with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/close

Send feedback to tektoncd/plumbing.

@tekton-robot
Copy link

@tekton-robot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen with a justification.
Mark the issue as fresh with /remove-lifecycle rotten with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/close

Send feedback to tektoncd/plumbing.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@vovtz
Copy link
Contributor

vovtz commented Jul 29, 2022

/reopen
Apparently didn’t get any attention, didn’t get approved nor denied

@vovtz
Copy link
Contributor

vovtz commented Jul 29, 2022

/reopen

Apparently didn’t get any attention, didn’t get approved nor denied

@tekton-robot
Copy link

@vovtz: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

Apparently didn’t get any attention, didn’t get approved nor denied

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@dibyom dibyom removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 29, 2022
@dibyom
Copy link
Member

dibyom commented Sep 29, 2022

@afrittoli @AlanGreene @geriom does it make sense to reopen this to fix #453 and #340

@dibyom dibyom reopened this Sep 29, 2022
@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from afrittoli after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 28, 2022
@vovtz
Copy link
Contributor

vovtz commented Jan 4, 2023

/remove-lifecycle stale

Just needs a little bit of attention (I would do it myself if I had a bit of knowledge about the setup of the docs).

@tekton-robot tekton-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 4, 2023
@geriom
Copy link
Contributor

geriom commented Jan 11, 2023

I spent most of the day trying to figure this out. So far no success but I noticed a few things:

  1. The exact line that breaks the links is 299 in sync.py. The statement if fq_path in local_files: checks whether relative links point to valid cloned files, if not they are turned into (incorrect) absolute links. At first I thought the error was in this giving false negatives, but..
  2. This works correctly in one instance. Opening the the main tag in the vault docs: http://localhost:8888/vault/triggers-main/ works fine.
  3. I checked the other versions of the same docs and none of them have the images folder other than main. So my guess is that the sync script is not handling correctly all the tags. There are inconsistencies in other repos too.

I will look into this some more tomorrow.

@geriom
Copy link
Contributor

geriom commented Jan 19, 2023

Opened #490 with an alternative solution. If the image is not found locally, use the URL to the raw file on github.

Closing this one.

@geriom geriom closed this Jan 19, 2023
@geriom geriom mentioned this pull request Jan 23, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants