summaryrefslogtreecommitdiffstats
path: root/app/models/repository/git.rb
Commit message (Collapse)AuthorAgeFilesLines
* Truncate git authors to 255 characters (#40948).Marius Balteanu2024-07-081-1/+1
| | | | | | | | | | The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this. Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/RedundantSafeNavigation (#36919).Go MAEDA2023-06-071-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary disabling of RuboCop Rails/Pluck (#37248).Go MAEDA2022-10-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Pluck (#37248).Go MAEDA2022-10-281-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).Go MAEDA2022-09-251-3/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the safe navigation operator instead of checking if an object is nil ↵Go MAEDA2022-09-251-6/+3
| | | | | | | | | (#37614). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/GuardClause (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/IfUnlessModifier (#37614).Go MAEDA2022-09-251-9/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SymbolProc (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Blank (#37614).Go MAEDA2022-09-251-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of app/models/repository/git.rbToshi MARUYAMA2020-09-121-9/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20019 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/repository/git.rbToshi MARUYAMA2020-07-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/repository/git.rbToshi MARUYAMA2019-11-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in ↵Toshi MARUYAMA2019-11-221-0/+4
| | | | | | app/models/repository/git.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-251-1/+1
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-061-2/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use exists? instead of count (#24839).Jean-Philippe Lang2017-01-161-1/+1
| | | | | | Patch by Vincent Robert and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds accessors for report_last_commit.Jean-Philippe Lang2016-10-041-5/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate the repository when updating/clearing extra info (#19400).Jean-Philippe Lang2015-03-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14143 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2015-03-081-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: split Repository#entries (#14361)Toshi MARUYAMA2014-02-021-4/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Repository::Git modelToshi MARUYAMA2014-01-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12743 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format clean up Repository::Git modelToshi MARUYAMA2014-01-311-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12742 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup of finders with :conditions option.Jean-Philippe Lang2013-06-121-14/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Repository changesets are already sorted by committed_on DESC (#12713).Jean-Philippe Lang2013-01-031-2/+1
| | | | | | SQLServer raises an error because committed_on is specified twice in the order by list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix tests fail when extra_info is nil (#12409)Toshi MARUYAMA2012-11-211-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix changesets aren't read after clear_changesets call (#12409)Toshi MARUYAMA2012-11-211-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2012-06-101-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a method to load changesets for repository entries.Jean-Philippe Lang2012-06-101-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: git: save parents in creating changesets (#10470)Toshi MARUYAMA2012-04-031-6/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9311 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: use Changeset#create and Changeset#create_change as same with ↵Toshi MARUYAMA2012-03-291-13/+8
| | | | | | Subversion and Mercurial git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9290 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add the comment of the reason to scan database in fetching every ↵Toshi MARUYAMA2012-03-291-0/+14
| | | | | | time (#10470) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix typo in fetching revisions comment.Toshi MARUYAMA2012-03-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix model source indents (#10470)Toshi MARUYAMA2012-03-281-41/+41
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9284 e93f8b46-1217-0410-a6f0-8f06a7374b81