Commit Graph

10 Commits

Author SHA1 Message Date
George Koltsov 5ba77a4999 Add author lines to project import comments 2019-08-07 14:01:40 +01:00
gfyoung d598e4fd93 Enable more frozen string in lib/**/*.rb
Enables frozen for the following:

* lib/*.rb
* lib/banzai/**/*.rb
* lib/bitbucket/**/*.rb
* lib/constraints/**/*.rb
* lib/container_registry/**/*.rb
* lib/declarative_policy/**/*.rb

Partially addresses #47424.
2018-10-06 17:02:50 -07:00
Bart Libert 4bfd54f3d2
Import bitbucket issues that are reported by an anonymous user
For these kind of issues, the "reporter" field is present but zero.
In such a case, "fetch" will not return the default value, but it will
return nil.
Hence, importing fails, because the "username" field of nil is referenced

Fixes issue #44381
2018-05-24 13:28:58 +02:00
Douglas Barbosa Alexandre a3be4aeb7a Avoid use of Hash#dig to keep compatibility with Ruby 2.1 2016-12-16 19:51:40 -02:00
Valery Sizov e0ef9dc83e BB importer: Milestone importer 2016-12-16 12:12:53 +02:00
Valery Sizov 8f0cef0b6e BB importer: Refactoring user importing logic[ci skip] 2016-12-14 12:35:13 +02:00
Valery Sizov e39f024029 BB importer: Adding created_by only when used is not found[ci skip] 2016-12-13 21:28:07 +02:00
Valery Sizov 00cd864237 BitBucket importer: import issues with labels 2016-12-07 18:04:02 +02:00
Valery Sizov 67b7637e5d Apply review comments. Iteration 1 2016-12-07 11:33:32 +02:00
Douglas Barbosa Alexandre 3dd15d3f75 Add an endpoint to get a list of issues for a repo 2016-11-21 16:47:26 -08:00