Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Commit 0dee406

Browse files
author
Luke Shepard
committed
Merge remote-tracking branch 'upstream/master'
Conflicts: .arcconfig
2 parents f4ca7ce + 4549afb commit 0dee406

File tree

3,829 files changed

+276516
-59063
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,829 files changed

+276516
-59063
lines changed

.arclint

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"exclude": [
33
"(^externals/)",
4-
"(^webroot/rsrc/externals/(?!javelin/))",
5-
"(/__tests__/data/)"
4+
"(^webroot/rsrc/externals/(?!javelin/))"
65
],
76
"linters": {
87
"chmod": {
@@ -69,21 +68,7 @@
6968
"type": "spelling"
7069
},
7170
"text": {
72-
"type": "text",
73-
"exclude": [
74-
"(^\\.arclint)",
75-
"(^resources/sql/quickstart.sql)"
76-
]
77-
},
78-
"text-without-length": {
79-
"type": "text",
80-
"severity": {
81-
"3": "disabled"
82-
},
83-
"include": [
84-
"(^\\.arclint)",
85-
"(^resources/sql/quickstart.sql)"
86-
]
71+
"type": "text"
8772
},
8873
"xhpast": {
8974
"type": "xhpast",

.arcunit

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"engines": {
3+
"phutil": {
4+
"type": "phutil",
5+
"include": "(\\.php$)"
6+
}
7+
}
8+
}

.editorconfig

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,31 @@
33
[*]
44
indent_style = space
55
indent_size = 2
6+
end_of_line = lf
67
charset = utf-8
78
trim_trailing_whitespace = true
89
insert_final_newline = true
10+
max_line_length = 80
11+
12+
[.arclint]
13+
max_line_length =
14+
15+
[resources/sql/**.sql]
16+
max_line_length =
17+
18+
[scripts/install/install_*.sh]
19+
max_line_length =
20+
21+
[src/applications/differential/parser/__tests__/data/*.diff]
22+
trim_trailing_whitespace = false
23+
24+
[src/applications/differential/parser/__tests__/messages/long-title.txt]
25+
max_line_length =
26+
27+
[src/applications/diffusion/ssh/__tests__/hgwiredata/*.txt]
28+
max_line_length =
929

1030
[externals/**]
11-
; Use editor default (possible autodetection).
1231
indent_style =
1332
indent_size =
1433
trim_trailing_whitespace = false

LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
Apache License
32
Version 2.0, January 2004
43
http://www.apache.org/licenses/

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ Phabricator includes applications for:
44

55
- reviewing and auditing source code;
66
- hosting and browsing repositories;
7-
- assembling a party to venture forth;
87
- tracking bugs;
98
- managing projects;
9+
- conversing with team members;
10+
- assembling a party to venture forth;
1011
- writing stuff down and reading it later;
1112
- hiding stuff from coworkers; and
1213
- also some other things.
1314

1415
You can learn more about the project (and find links to documentation and resources) at [Phabricator.org](http://phabricator.org)
1516

16-
Phabricator is developed and maintained by [Phacility](http://phacility.com). The first version of Phabricator was originally built at Facebook.
17+
Phabricator is developed and maintained by [Phacility](http://phacility.com).
1718

1819
----------
1920

bin/garbage

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../scripts/setup/manage_garbage.php

conf/__init_conf__.php

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<?php
22

33
function phabricator_read_config_file($original_config) {
4-
54
$root = dirname(dirname(__FILE__));
65

76
// Accept either "myconfig" (preferred) or "myconfig.conf.php".
87
$config = preg_replace('/\.conf\.php$/', '', $original_config);
98
$full_config_path = $root.'/conf/'.$config.'.conf.php';
109

1110
if (!Filesystem::pathExists($full_config_path)) {
12-
1311
// These are very old configuration files which we used to ship with
1412
// by default. File based configuration was de-emphasized once web-based
1513
// configuration was built. The actual files were removed to reduce
@@ -37,12 +35,14 @@ function phabricator_read_config_file($original_config) {
3735
$file = trim($file, './');
3836
$files[$key] = preg_replace('/\.conf\.php$/', '', $file);
3937
}
40-
$files = " ".implode("\n ", $files);
38+
$files = ' '.implode("\n ", $files);
4139

4240
throw new Exception(
43-
"CONFIGURATION ERROR\n".
44-
"Config file '{$original_config}' does not exist. Valid config files ".
45-
"are:\n\n".$files);
41+
pht(
42+
"CONFIGURATION ERROR\n".
43+
"Config file '%s' does not exist. Valid config files are:\n\n%s",
44+
$original_config,
45+
$files));
4646
}
4747

4848
// Make sure config file errors are reported.
@@ -58,7 +58,11 @@ function phabricator_read_config_file($original_config) {
5858
ini_set('display_errors', $old_display_errors);
5959

6060
if ($conf === false) {
61-
throw new Exception("Failed to read config file '{$config}': {$errors}");
61+
throw new Exception(
62+
pht(
63+
"Failed to read config file '%s': %s",
64+
$config,
65+
$errors));
6266
}
6367

6468
return $conf;

externals/balanced-php/.gitignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

externals/balanced-php/.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

externals/balanced-php/LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)