Actions
Bug #2265
closedDuring an import of a rudder configuration-repository copy (from another root server), if you try to tag the archive without an annotation, JGit fails
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
During an import of a rudder configuration-repository copy (from another root server), if you try to tag the archive without an annotation, JGit fails.
How to reproduce:
git tag archives/full/2012-02-09_16-06-38.095 # Can be anything, works with "git tag flyingduck" tooResult:
- In the webapp: (no archive)
- In the logs:
(...) 17:27:19.435 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:19.441 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:19.446 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:21.377 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:21.391 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:21.396 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:27:21.401 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:30:56.860 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:30:56.867 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:30:56.873 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) 17:30:56.881 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty))) (...)
If you do:
git tag -a -m "Plopinou" archives/full/2012-02-09_16-06-38.095
Then rudder is happy and displays the import.
Updated by François ARMAND almost 13 years ago
Its a JGit bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=360650
We'll try to workaround it.
Updated by François ARMAND almost 13 years ago
- Status changed from 8 to Pending technical review
- % Done changed from 0 to 100
Applied in changeset 7e6c0f9f7369193ebb0c3dc844266fa5505927be.
Updated by Nicolas CHARLES almost 13 years ago
- Status changed from Pending technical review to Released
This seems correct, thank you Francois
Actions