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

Repoman entries with the same timestamp, target, result, and log fields overwrite each other. #17

Open
p8952 opened this issue Jun 22, 2015 · 0 comments
Labels

Comments

@p8952
Copy link
Owner

p8952 commented Jun 22, 2015

            package = Package.where(sha1: sha1).first
            unless package.nil?
                package.add_repoman(
                    Repoman.find_or_create(
                        timestamp: timestamp,
                        target: target,
                        result: result,
                        log: log
                    )
                )
            end

If two items in ci-logs/ have the same values for timestamp, target, result, and log fields one will overwrite the other when running rake db:update_repoman

This does not happen to build entries because the log files are always unique for different packages.

@p8952 p8952 added the bug label Jul 8, 2015
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

1 participant