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

Mirror Tags are always gray #2209

Closed
docbacardi opened this issue May 3, 2024 · 6 comments
Closed

Mirror Tags are always gray #2209

docbacardi opened this issue May 3, 2024 · 6 comments

Comments

@docbacardi
Copy link

I'm using the "Repository Mirror" plugin for several external repositories. The synchronization works like a charm, only the "mirror" tag in the repository list is always gray. The documentation here suggests that a successful sync is marked with a green tag:

Mirrored repositories are marked with a Mirror tag. A gray tag indicates the ongoing first synchronization with the external source.
If the data synchronization was successful, the tag is green. A red tag indicates errors during the synchronization.
If branches or tags were rejected due to a configured filter (other than the name patterns), it is yellow.

All of my mirrors were successfully synchronized as the repository data and the mirror log shows. The tool tip of the "mirror" tags says "Last synchronization successful", but the color is gray:

scmv3_mirror_tag_with_tooltip

Tests were done with Firefox 125.0.3 and Chromium 124.0.6367.91, both running on Ubuntu 22.04 LTS. The screenshot shows the dark theme, but the problem occurs with all themes.

I'm using SCM Manager v3.1.0 on Ubuntu x86_64 20.04LTS with Java 17. The "Repository Mirror" plugin is v2.4.2 . The SCM Manager is started as a systemd service with the provided script "bin/scm-server".

@pfeuffer
Copy link
Member

pfeuffer commented May 3, 2024

Thanks for the hint. Indeed, this looks strange. We will check this.

@fscholdei
Copy link
Member

The fix should be available with the next release probably by end of the month.

@docbacardi
Copy link
Author

Just updated to v3.2.0 but the icons are still gray. All plugins are up to date. A refresh of a mirror repository after the update did not change anything.

My HTML/CSS skills are about tourist level, so this is just a wild guess: does color="success" really have some effect:
scm_manager_mirror_icons_02

@christophloose
Copy link

@docbacardi due to quality improvements we delayed the plugin release of the mirror plugin until next week.

@eheimbuch
Copy link
Member

Hey @docbacardi,

we just released SCM-Manager 3.2.1 and the new version of the repository mirror plugin which will fix the color of the tags.

Regards, Eduard

@docbacardi
Copy link
Author

Back from holidays, updated to v3.2.1 and the mirror tags are colorful.
Thanks for the help!

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

No branches or pull requests

5 participants