Skip to content

Conversation

glehmann
Copy link
Member

@glehmann glehmann commented Feb 28, 2025

image

@stormi stormi requested review from stormi and ydirson March 3, 2025 11:35
@stormi
Copy link
Member

stormi commented Mar 3, 2025

Looks like a good candidate for a sync review.

Copy link
Contributor

@ydirson ydirson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be some overlap with #677 here. Also, do we want to depend on koji, when we can get the info from the repos directly?

@stormi
Copy link
Member

stormi commented Mar 3, 2025

There seems to be some overlap with #677 here. Also, do we want to depend on koji, when we can get the info from the repos directly?

You can't get the koji build ID and links to the web interface from repos directly.

Copy link
Contributor

@ydirson ydirson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note the "hmtl" typo in commit message

@glehmann glehmann force-pushed the pkg-in-pipe branch 2 times, most recently from 55ae5cb to 6f29e52 Compare March 6, 2025 10:40

```sh
docker build -f pkg_in_pipe .
docker run -v ~/.koji:/root/.koji:z -e PLANE_TOKEN=<plane token> -v /out/dir:/output:z pkg_in_pipe /output/index.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should document in README that a directory from the host should me mounted in the container, and that a positional argument is used to specify the output path and filename inside the container, shouldn't we?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

@glehmann glehmann force-pushed the pkg-in-pipe branch 2 times, most recently from 336d713 to f14946b Compare March 7, 2025 18:20
@glehmann
Copy link
Member Author

glehmann commented Mar 7, 2025

@nathanael-h I have also added the last generation time and generation interval in the report

@glehmann glehmann force-pushed the pkg-in-pipe branch 3 times, most recently from 4b42ed2 to 10b532b Compare March 10, 2025 10:02
@glehmann glehmann requested a review from ydirson March 14, 2025 08:07
@stormi
Copy link
Member

stormi commented Apr 8, 2025

@glehmann let's discuss it together with @nathanael-h in the coming days?

@glehmann glehmann force-pushed the pkg-in-pipe branch 3 times, most recently from 56bbe01 to 139539f Compare April 15, 2025 11:54
@glehmann glehmann force-pushed the pkg-in-pipe branch 2 times, most recently from 03a273a to 42496a3 Compare April 25, 2025 12:21
return sorted(prs, key=lambda p: p.number, reverse=True)

parser = argparse.ArgumentParser(description='Generate a report of the packages in the pipe')
parser.add_argument('output', nargs='?', help='Report output path', default='report.html')
parser.add_argument('--generated-info', help="Add this message about the generation in the report")
parser.add_argument('--plane-token', help="The token used to access the plane api", default=os.environ['PLANE_TOKEN'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed by mistake, reintroduced with different indent in next commit (reinident would belong to first commit)

Copy link
Member Author

@glehmann glehmann Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a style fix: I used environ.get() to not raise an exception if the envar is not defined.
but indeed it was removed by mistake

glehmann and others added 3 commits April 30, 2025 14:43
@stormi stormi removed their request for review April 30, 2025 12:43
@stormi
Copy link
Member

stormi commented Apr 30, 2025

Removing myself from the code reviewers for this one. I'll continue providing feedback on the end result, independently of the implementation.

Signed-off-by: Gaëtan Lehmann <[email protected]>
Signed-off-by: Gaëtan Lehmann <[email protected]>
@glehmann glehmann merged commit f618ead into master May 7, 2025
1 check passed
@glehmann glehmann deleted the pkg-in-pipe branch May 7, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants