Skip to content
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

Request : Add a parameter for catalog page size #1001

Closed
Seb-Solon opened this issue Jul 20, 2016 · 4 comments
Closed

Request : Add a parameter for catalog page size #1001

Seb-Solon opened this issue Jul 20, 2016 · 4 comments
Labels

Comments

@Seb-Solon
Copy link

Hi!

Due to distribution/distribution#1854 I had to manually edit the request page size here : https://github.com/SUSE/Portus/blob/master/lib/portus/registry_client.rb#L97
Do you think it is a good to make it configurable for the user? In my case it would be a better workaround for my issue. I am afraid that you may have some issue created in this repo regarding missing repositories/image in the web interface due to this registry bug. This could be a workaround while the registry is fixed.

Regards,

@mssola
Copy link
Collaborator

mssola commented Jul 20, 2016

Sounds good to me 👍. We are already providing a configurable value like jwt_expiration_time which is pretty "internal" anyways.

@mssola mssola added the feature label Jul 20, 2016
@mssola
Copy link
Collaborator

mssola commented Jul 20, 2016

That being said, development for this will start once the bug is confirmed in distribution 😉

mssola added a commit to mssola/Portus that referenced this issue Jul 21, 2016
With this option we will be able to workaround distribution/distribution#1854.
Moreover, with this we will allow administrators to further tweak how Portus
interacts with the registry.

Moreover, because of this new addition, I felt like groupping registry-related
configurable options would be a good idea, so now all these options are under
the new `registry` section. We are still providing a compatibility layer in the
Portus::Migrate module.

Fixes SUSE#1001

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
@mssola
Copy link
Collaborator

mssola commented Jul 21, 2016

@Seb-Solon done! I'm adding the registry.catalog_page configurable value for this (see PR #1002).

mssola added a commit to mssola/Portus that referenced this issue Jul 21, 2016
With this option we will be able to workaround distribution/distribution#1854.
Moreover, with this we will allow administrators to further tweak how Portus
interacts with the registry.

Moreover, because of this new addition, I felt like groupping registry-related
configurable options would be a good idea, so now all these options are under
the new `registry` section. We are still providing a compatibility layer in the
Portus::Migrate module.

Fixes SUSE#1001

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
@Seb-Solon
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants