{ "name": "searchable_project", "path": "gitlabhq", "description": null, "issues_enabled": true, "wall_enabled": false, "merge_requests_enabled": true, "wiki_enabled": true, "snippets_enabled": true, "visibility_level": 20, "archived": false, "issues": [ { "id": 1, "title": "Debitis vero omnis cum accusamus nihil rerum cupiditate.", "assignee_id": 1, "author_id": 2, "project_id": 6, "created_at": "2016-04-13T14:40:32.471Z", "updated_at": "2016-04-13T14:40:38.956Z", "position": 0, "branch_name": null, "description": null, "milestone_id": null, "state": "opened", "iid": 1, "updated_by_id": null, "confidential": false, "deleted_at": null, "moved_to_id": null, "notes": [ { "id": 1, "note": ":+1: issue", "noteable_type": "Issue", "author_id": 21, "created_at": "2016-04-13T14:40:38.944Z", "updated_at": "2016-04-13T14:40:38.944Z", "project_id": 8, "attachment": { "url": null }, "line_code": null, "commit_id": null, "noteable_id": 1, "system": false, "st_diff": null, "updated_by_id": null, "is_award": false } ] } ], "labels": [ { "id": 1, "title": "label1", "color": "#990000", "project_id": 6, "created_at": "2016-04-13T14:40:34.704Z", "updated_at": "2016-04-13T14:40:36.891Z", "template": false, "description": null } ], "milestones": [ { "id": 1, "title": "Milestone v1.2", "project_id": 6, "description": null, "due_date": null, "created_at": "2016-04-13T14:40:37.901Z", "updated_at": "2016-04-13T14:40:37.901Z", "state": "active", "iid": 1 } ], "snippets": [ { "id": 1, "title": "Illo ipsa maxime magni aut.", "content": "Excepturi delectus ut harum est molestiae dolor.", "author_id": 10, "project_id": 6, "created_at": "2016-04-13T14:40:35.603Z", "updated_at": "2016-04-13T14:40:36.903Z", "file_name": "daphne.mraz", "visibility_level": 0 } ], "releases": [ { "id": 1, "tag": "v1.1.0", "description": "Awesome release", "project_id": 6, "created_at": "2016-04-13T14:40:36.223Z", "updated_at": "2016-04-13T14:40:36.913Z" } ], "events": [ { "id": 1, "target_type": null, "target_id": null, "title": null, "data": null, "project_id": 6, "created_at": "2016-04-13T14:40:40.122Z", "updated_at": "2016-04-13T14:40:40.122Z", "action": 8, "author_id": 1 } ], "project_members": [ { "id": 1, "user": { "id": 1, "email": "norval.gulgowski@schambergerboyle.co.uk", "created_at": "2016-04-13T14:40:30.963Z", "updated_at": "2016-04-13T14:40:30.963Z", "name": "Jalon Cormier DVM", "admin": false, "projects_limit": 42, "skype": "", "linkedin": "", "twitter": "", "authentication_token": "tt-mPSZFvRBu8QzkW1Ss", "theme_id": 2, "bio": null, "username": "vance.turner1", "can_create_group": true, "can_create_team": false, "state": "active", "color_scheme_id": 1, "notification_level": 1, "password_expires_at": null, "created_by_id": null, "last_credential_check_at": null, "avatar": { "url": null }, "hide_no_ssh_key": false, "website_url": "", "notification_email": "norval.gulgowski@schambergerboyle.co.uk", "hide_no_password": false, "password_automatically_set": false, "location": null, "encrypted_otp_secret": null, "encrypted_otp_secret_iv": null, "encrypted_otp_secret_salt": null, "otp_required_for_login": false, "otp_backup_codes": null, "public_email": "", "dashboard": "projects", "project_view": "readme", "consumed_timestep": null, "layout": "fixed", "hide_project_limit": false, "otp_grace_period_started_at": null, "ldap_email": false, "external": false } } ], "merge_requests": [ { "id": 1, "target_branch": "feature", "source_branch": "master", "source_project_id": 2, "author_id": 5, "assignee_id": null, "title": "Dignissimos officia sit aut id dolor iure voluptatem expedita.", "created_at": "2016-04-13T14:40:33.381Z", "updated_at": "2016-04-13T14:40:39.850Z", "milestone_id": null, "state": "opened", "merge_status": "can_be_merged", "target_project_id": 6, "iid": 1, "description": null, "position": 0, "locked_at": null, "updated_by_id": null, "merge_error": null, "merge_params": { }, "merge_when_build_succeeds": false, "merge_user_id": null, "merge_commit_sha": null, "deleted_at": null, "merge_request_diff": { "id": 1, "state": "collected", "st_commits": [ { "id": "5937ac0a7beb003549fc5fd26fc247adbce4a52e", "message": "Add submodule from gitlab.com\n\nSigned-off-by: Dmitriy Zaporozhets \n", "parent_ids": [ "570e7b2abdd848b95f2f578043fc23bd6f6fd24d" ], "authored_date": "2014-02-27T10:01:38.000+01:00", "author_name": "Dmitriy Zaporozhets", "author_email": "dmitriy.zaporozhets@gmail.com", "committed_date": "2014-02-27T10:01:38.000+01:00", "committer_name": "Dmitriy Zaporozhets", "committer_email": "dmitriy.zaporozhets@gmail.com" }, { "id": "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", "message": "Change some files\n\nSigned-off-by: Dmitriy Zaporozhets \n", "parent_ids": [ "6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9" ], "authored_date": "2014-02-27T09:57:31.000+01:00", "author_name": "Dmitriy Zaporozhets", "author_email": "dmitriy.zaporozhets@gmail.com", "committed_date": "2014-02-27T09:57:31.000+01:00", "committer_name": "Dmitriy Zaporozhets", "committer_email": "dmitriy.zaporozhets@gmail.com" }, { "id": "6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9", "message": "More submodules\n\nSigned-off-by: Dmitriy Zaporozhets \n", "parent_ids": [ "d14d6c0abdd253381df51a723d58691b2ee1ab08" ], "authored_date": "2014-02-27T09:54:21.000+01:00", "author_name": "Dmitriy Zaporozhets", "author_email": "dmitriy.zaporozhets@gmail.com", "committed_date": "2014-02-27T09:54:21.000+01:00", "committer_name": "Dmitriy Zaporozhets", "committer_email": "dmitriy.zaporozhets@gmail.com" }, { "id": "d14d6c0abdd253381df51a723d58691b2ee1ab08", "message": "Remove ds_store files\n\nSigned-off-by: Dmitriy Zaporozhets \n", "parent_ids": [ "c1acaa58bbcbc3eafe538cb8274ba387047b69f8" ], "authored_date": "2014-02-27T09:49:50.000+01:00", "author_name": "Dmitriy Zaporozhets", "author_email": "dmitriy.zaporozhets@gmail.com", "committed_date": "2014-02-27T09:49:50.000+01:00", "committer_name": "Dmitriy Zaporozhets", "committer_email": "dmitriy.zaporozhets@gmail.com" }, { "id": "c1acaa58bbcbc3eafe538cb8274ba387047b69f8", "message": "Ignore DS files\n\nSigned-off-by: Dmitriy Zaporozhets \n", "parent_ids": [ "ae73cb07c9eeaf35924a10f713b364d32b2dd34f" ], "authored_date": "2014-02-27T09:48:32.000+01:00", "author_name": "Dmitriy Zaporozhets", "author_email": "dmitriy.zaporozhets@gmail.com", "committed_date": "2014-02-27T09:48:32.000+01:00", "committer_name": "Dmitriy Zaporozhets", "committer_email": "dmitriy.zaporozhets@gmail.com" } ], "st_diffs": [ { "diff": "Binary files a/.DS_Store and /dev/null differ\n", "new_path": ".DS_Store", "old_path": ".DS_Store", "a_mode": "100644", "b_mode": "0", "new_file": false, "renamed_file": false, "deleted_file": true, "too_large": false }, { "diff": "--- a/.gitignore\n+++ b/.gitignore\n@@ -17,3 +17,4 @@ rerun.txt\n pickle-email-*.html\n .project\n config/initializers/secret_token.rb\n+.DS_Store\n", "new_path": ".gitignore", "old_path": ".gitignore", "a_mode": "100644", "b_mode": "100644", "new_file": false, "renamed_file": false, "deleted_file": false, "too_large": false }, { "diff": "--- a/.gitmodules\n+++ b/.gitmodules\n@@ -1,3 +1,9 @@\n [submodule \"six\"]\n \tpath = six\n \turl = git://github.com/randx/six.git\n+[submodule \"gitlab-shell\"]\n+\tpath = gitlab-shell\n+\turl = https://github.com/gitlabhq/gitlab-shell.git\n+[submodule \"gitlab-grack\"]\n+\tpath = gitlab-grack\n+\turl = https://gitlab.com/gitlab-org/gitlab-grack.git\n", "new_path": ".gitmodules", "old_path": ".gitmodules", "a_mode": "100644", "b_mode": "100644", "new_file": false, "renamed_file": false, "deleted_file": false, "too_large": false }, { "diff": "Binary files a/files/.DS_Store and /dev/null differ\n", "new_path": "files/.DS_Store", "old_path": "files/.DS_Store", "a_mode": "100644", "b_mode": "0", "new_file": false, "renamed_file": false, "deleted_file": true, "too_large": false }, { "diff": "--- a/files/ruby/popen.rb\n+++ b/files/ruby/popen.rb\n@@ -6,12 +6,18 @@ module Popen\n \n def popen(cmd, path=nil)\n unless cmd.is_a?(Array)\n- raise \"System commands must be given as an array of strings\"\n+ raise RuntimeError, \"System commands must be given as an array of strings\"\n end\n \n path ||= Dir.pwd\n- vars = { \"PWD\" => path }\n- options = { chdir: path }\n+\n+ vars = {\n+ \"PWD\" => path\n+ }\n+\n+ options = {\n+ chdir: path\n+ }\n \n unless File.directory?(path)\n FileUtils.mkdir_p(path)\n@@ -19,6 +25,7 @@ module Popen\n \n @cmd_output = \"\"\n @cmd_status = 0\n+\n Open3.popen3(vars, *cmd, options) do |stdin, stdout, stderr, wait_thr|\n @cmd_output << stdout.read\n @cmd_output << stderr.read\n", "new_path": "files/ruby/popen.rb", "old_path": "files/ruby/popen.rb", "a_mode": "100644", "b_mode": "100644", "new_file": false, "renamed_file": false, "deleted_file": false, "too_large": false }, { "diff": "--- a/files/ruby/regex.rb\n+++ b/files/ruby/regex.rb\n@@ -19,14 +19,12 @@ module Gitlab\n end\n \n def archive_formats_regex\n- #|zip|tar| tar.gz | tar.bz2 |\n- /(zip|tar|tar\\.gz|tgz|gz|tar\\.bz2|tbz|tbz2|tb2|bz2)/\n+ /(zip|tar|7z|tar\\.gz|tgz|gz|tar\\.bz2|tbz|tbz2|tb2|bz2)/\n end\n \n def git_reference_regex\n # Valid git ref regex, see:\n # https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html\n-\n %r{\n (?!\n (?# doesn't begins with)\n", "new_path": "files/ruby/regex.rb", "old_path": "files/ruby/regex.rb", "a_mode": "100644", "b_mode": "100644", "new_file": false, "renamed_file": false, "deleted_file": false, "too_large": false }, { "diff": "--- /dev/null\n+++ b/gitlab-grack\n@@ -0,0 +1 @@\n+Subproject commit 645f6c4c82fd3f5e06f67134450a570b795e55a6\n", "new_path": "gitlab-grack", "old_path": "gitlab-grack", "a_mode": "0", "b_mode": "160000", "new_file": true, "renamed_file": false, "deleted_file": false, "too_large": false }, { "diff": "--- /dev/null\n+++ b/gitlab-shell\n@@ -0,0 +1 @@\n+Subproject commit 79bceae69cb5750d6567b223597999bfa91cb3b9\n", "new_path": "gitlab-shell", "old_path": "gitlab-shell", "a_mode": "0", "b_mode": "160000", "new_file": true, "renamed_file": false, "deleted_file": false, "too_large": false } ], "merge_request_id": 1, "created_at": "2016-04-13T14:40:33.474Z", "updated_at": "2016-04-13T14:40:33.834Z", "base_commit_sha": "ae73cb07c9eeaf35924a10f713b364d32b2dd34f", "real_size": "8" }, "notes": [ { "id": 2, "note": ":+1: merge_request", "noteable_type": "MergeRequest", "author_id": 24, "created_at": "2016-04-13T14:40:39.832Z", "updated_at": "2016-04-13T14:40:39.832Z", "project_id": 9, "attachment": { "url": null }, "line_code": null, "commit_id": null, "noteable_id": 1, "system": false, "st_diff": null, "updated_by_id": null, "is_award": false } ] } ], "ci_commits": [ { "id": 2, "project_id": 6, "ref": "master", "sha": "5937ac0a7beb003549fc5fd26fc247adbce4a52e", "before_sha": null, "push_data": null, "created_at": "2016-04-13T14:40:37.759Z", "updated_at": "2016-04-13T14:40:37.759Z", "tag": false, "yaml_errors": null, "committed_at": null, "gl_project_id": 6, "statuses": [ { "id": 1, "project_id": null, "status": "success", "finished_at": "2016-01-26T07:23:42.000Z", "trace": null, "created_at": "2016-04-13T14:40:37.717Z", "updated_at": "2016-04-13T14:40:37.771Z", "started_at": "2016-01-26T07:21:42.000Z", "runner_id": null, "coverage": null, "commit_id": 2, "commands": null, "job_id": null, "name": "default", "deploy": false, "options": null, "allow_failure": false, "stage": null, "trigger_request_id": null, "stage_idx": null, "tag": null, "ref": null, "user_id": null, "target_url": null, "description": "commit status", "artifacts_file": null, "gl_project_id": 7, "artifacts_metadata": null, "erased_by_id": null, "erased_at": null } ] } ] }