James Lopez
6612ca096a
update repo and wiki repo bundler to use git bundle instead of compressing via tar
2016-05-05 12:01:18 +02:00
James Lopez
2a78e03ad5
Merge branches 'feature/project-export' and 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-05-03 11:15:38 +02:00
James Lopez
58b0b1a661
picking export stuff from the UI branch
2016-05-03 11:13:10 +02:00
Stan Hu
6dff1a9a2b
Fix Error 500 due to stale cache when projects are renamed or transferred
...
Closes gitlab-org/gitlab-ee#506
2016-04-25 06:57:50 -07:00
James Lopez
2d503f6410
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-04-21 17:37:33 +02:00
Alfredo Sumaran and Jacob Schatz
a96dc94428
Memoize target
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
1eeabdc6a5
Change variable name
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
05628e0c2f
Fixes failing spec
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
ad48ecacae
Update method name and remove unneeded params
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
562c9652d6
Put owner and participating people first
2016-04-16 07:21:28 -04:00
Rémy Coutable
4a514b27e9
Merge branch 'issue_15155' into 'master'
...
Setup visibility level for project when transfering for a group
fixes #15155
See merge request !3707
2016-04-14 15:13:08 +00:00
James Lopez
0852f539aa
refactored stuff, added a save and compress all class and moved mostly everything to lib
2016-04-14 16:57:25 +02:00
Felipe Artur
a8ea2c1895
Change transfer service to use existing methods
2016-04-14 11:34:42 -03:00
Felipe Artur
11f46b459e
Setup visibility level for project when transfering for a group
2016-04-13 15:28:10 -03:00
Yorick Peterse
3b9edce803
Instrument the HousekeepingService class
...
This allows us to track how much time is spent in updating the
"pushes_since_gc" column as well as the time needed to obtain the lease.
2016-04-13 15:31:13 +02:00
James Lopez
6f74c7d482
fix export commits stuff
2016-04-12 18:06:57 +02:00
James Lopez
3b99e4ae5b
add issue and MR comments to default export. Fix spec
2016-04-12 15:32:25 +02:00
James Lopez
5d642fb7aa
fix rubocop warnings
2016-04-08 15:07:12 +02:00
James Lopez
de6c44e983
using new config
2016-04-07 18:14:42 +02:00
James Lopez
acfa0b69d5
continuing to refactor config, added spec and fixed a few problems
2016-04-07 13:19:57 +02:00
James Lopez
b4fe002264
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-04-06 18:16:20 +02:00
James Lopez
efde96e9cd
started refactored the dynamic rules to be defined in a yml file
2016-04-06 18:12:41 +02:00
Douglas Barbosa Alexandre
f2005fa566
Flush repository cache before import project data
...
GitHub Pull Requests importer handle with the repository while
importing data, we need to make sure that the cached values are valid.
2016-04-04 19:35:39 -03:00
Douwe Maan
f505c753b0
Merge branch 'fix_remove_fork_link' into 'master'
...
Remove fork link closes all merge requests opened on source project
Currently, if you:
- create a fork
- open a merge request on the source project
- remove the fork link
The created MR cannot be closed.
With this MR, all pending MR is closed when the fork link is removed.
See merge request !3189
2016-04-04 15:37:08 +00:00
Baldinof
a6b5b50e14
Fix incorrect variable name
2016-04-04 14:41:01 +00:00
Baldinof
fa4126acff
Move unlink fork logic to a service
2016-03-22 15:34:35 +01:00
Douwe Maan
8db1292139
Tweaks, refactoring, and specs
2016-03-20 21:04:07 +01:00
Douwe Maan
2eb19ea3ea
Merge branch 'master' into issue_12658
2016-03-20 14:57:25 +01:00
Felipe Artur
8b830b8c3b
Fix specs
2016-03-18 21:04:53 -03:00
Robert Speicher
c790107854
Merge branch 'no-gc-retry' into 'master'
...
Do not retry "git gc"
To prevent 'git gc' timing out on a large repo and then bouncing
around in the retry queue.
See merge request !3266
2016-03-18 20:26:40 +00:00
Zeger-Jan van de Weg and Felipe Artur
b959ae553b
Improve group visibility level feature
2016-03-18 16:58:04 -03:00
Douglas Barbosa Alexandre
7ee528336a
Restrict access for confidential issues on autocomplete
2016-03-17 20:55:59 -03:00
Jacob Vosmaer
2057bc02a3
Do not retry "git gc"
2016-03-17 11:02:11 +01:00
Felipe Artur
44c127447b
Merge 4009-external-users into issue_12658
2016-03-16 20:16:42 -03:00
Felipe Artur
ec20fdf366
Code improvements and add Create group service
2016-03-16 19:44:33 -03:00
Jacob Vosmaer
30b36c92c3
Use an exception to pass messages
2016-03-15 11:03:43 +01:00
Jacob Vosmaer
021d53c96d
Run 'git gc' every 10 pushes
2016-03-14 16:49:24 +01:00
Jacob Vosmaer
a02fe251df
Allow project housekeeping only once an hour
2016-03-14 15:55:45 +01:00
James Lopez
e05bc61144
fix project snippets json issue
2016-03-14 12:58:01 +01:00
James Lopez
ba1fcf3619
added commits and merge request diffs to export
2016-03-14 12:29:46 +01:00
James Lopez
66d3f98582
add id to project member user json
2016-03-11 17:06:12 +01:00
James Lopez
eb2b9e3efc
fix project members json to include user
2016-03-11 11:23:59 +01:00
James Lopez
2fd3023186
fix project members export
2016-03-11 09:46:00 +01:00
James Lopez
a7acfa6614
add project members to export
2016-03-10 16:29:38 +01:00
Felipe Artur
c3e70280df
Prevent projects to have higher visibility than groups
...
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
James Lopez
4b88b4ffd5
fix wiki path issues and spec
2016-03-09 10:35:38 +01:00
James Lopez
f9c6168cc4
fix new line issue
2016-03-08 18:20:32 +01:00
James Lopez
99d87d8698
WIP - added wiki repo bundler
2016-03-08 18:17:57 +01:00
James Lopez
556cafa44e
added repo bundler spec and refactored some of the export code
2016-03-08 15:53:32 +01:00
James Lopez
4e73f9827c
WIP - started working on bundle the repo, refactored some stuff and updated spec
2016-03-08 12:35:37 +01:00