falco icon indicating copy to clipboard operation
falco copied to clipboard

README: wrong latest packages versions

Open FedeDP opened this issue 2 years ago • 2 comments

Describe the bug

In README file, the list of latest packages version is wrong. This is perhaps due to the fact that we exceed aws s3 max keys limit in the query:

[max-keys](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#API_ListObjectsV2_RequestSyntax)

    Sets the maximum number of keys returned in the response. By default the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

How to reproduce it

Just look at the README :)

Expected behaviour

We should be able to fetch the actual latest packages! A possible solution would be to force the falco-$(latest_tag) prefix (instead of the falco- one). But this would introduce the need to automate the "new tag -> bump readme" PR... Moreover, the higher the pace of development of the project, the more likely to exceed the 1000 limit.

FedeDP avatar Jun 30 '22 14:06 FedeDP

It seems the issue is that aws s3 returns keys in :

List results are always returned in UTF-8 binary order.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html

FedeDP avatar Jun 30 '22 14:06 FedeDP

IMO the falco-$(latest_tag) solution might be an easy and yet functional workaround. Bumping the tag might be an additional step of the release process to document in RELEASE.md, if doing that automatically is much work. With the new release cycle, this would happen only every 4 months (excluding patch releases).

jasondellaluce avatar Jun 30 '22 16:06 jasondellaluce

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

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.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Sep 28 '22 21:09 poiana

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana avatar Oct 29 '22 03:10 poiana

/remove-lifecycle rotten

FedeDP avatar Oct 29 '22 09:10 FedeDP

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

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.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Jan 27 '23 15:01 poiana

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana avatar Feb 26 '23 15:02 poiana

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community. /close

poiana avatar Mar 28 '23 19:03 poiana

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community. /close

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.

poiana avatar Mar 28 '23 19:03 poiana