Page MenuHomePhabricator
Paste P1849

create repo
ActivePublic

Authored by nickz on Aug 28 2015, 12:20 AM.
Tags
None
Referenced Files
F762844: create repo
Aug 28 2015, 12:20 AM
Subscribers
None
[root@phabulous006:/mnt/phabricator (master)]# bin/repository update OST --trace
>>> [2] <connect> phabricator_repository
<<< [2] <connect> 4,441 us
>>> [3] <query> SELECT `r`.* FROM `repository` r WHERE (r.callsign IN ('OST')) ORDER BY `r`.`id` DESC
<<< [3] <query> 1,137 us
>>> [4] <lock> ph:phabric-6rILUDHKjHKu:repository.update:418
>>> [5] <connect> phabricator_repository
<<< [5] <connect> 3,939 us
>>> [6] <query> SET wait_timeout = 2147483
<<< [6] <query> 945 us
>>> [7] <query> SELECT GET_LOCK('ph:phabric-6rILUDHKjHKu:repository.update:418', 0)
<<< [7] <query> 982 us
>>> [8] <connect> phabricator_repository
<<< [8] <connect> 3,869 us
>>> [9] <query> INSERT INTO `repository_statusmessage`
(repositoryID, statusType, statusCode, parameters, epoch)
VALUES (418, 'init', 'working', '{\"message\":\"Creating a new working copy for repository \'OST\'.\"}', 1440721169)
ON DUPLICATE KEY UPDATE
statusCode = VALUES(statusCode),
parameters = VALUES(parameters),
epoch = VALUES(epoch)
<<< [9] <query> 1,965 us
>>> [10] <exec> $ git init --bare -- '/mnt/repos/OST'
<<< [10] <exec> 19,233 us
>>> [11] <exec> $ which 'php'
<<< [11] <exec> 12,516 us
>>> [12] <query> INSERT INTO `repository_statusmessage`
(repositoryID, statusType, statusCode, parameters, epoch)
VALUES (418, 'init', 'okay', '{\"message\":null}', 1440721169)
ON DUPLICATE KEY UPDATE
statusCode = VALUES(statusCode),
parameters = VALUES(parameters),
epoch = VALUES(epoch)
<<< [12] <query> 2,156 us
>>> [13] <query> DELETE FROM `repository_statusmessage` WHERE repositoryID = 418 AND statusType = 'needs-update'
<<< [13] <query> 2,030 us
>>> [14] <exec> $ git for-each-ref --sort='-creatordate' --format='%(objectname)%01%(objecttype)%01%(refname)%01%(*objectname)%01%(*objecttype)%01%(subject)%01%(creator)' 'refs/heads/'
<<< [14] <exec> 16,857 us
>>> [15] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 418 AND (importStatus & 15) != 15
LIMIT 1
<<< [15] <query> 1,271 us
>>> [16] <query> START TRANSACTION
<<< [16] <query> 1,002 us
>>> [17] <query> SELECT * FROM `repository` WHERE `id` = 418 FOR UPDATE
<<< [17] <query> 1,136 us
>>> [18] <query> UPDATE `repository` SET `name` = 'ownership-tools', `callsign` = 'OST', `uuid` = NULL, `viewPolicy` = 'PHID-PROJ-vmqjh3i4uqzqky67vnxu', `editPolicy` = 'admin', `pushPolicy` = 'PHID-PROJ-vmqjh3i4uqzqky67vnxu', `versionControlSystem` = 'git', `details` = '{\"importing\":false,\"tracking-enabled\":true,\"local-path\":\"\\/mnt\\/repos\\/OST\\/\",\"hosting-enabled\":true,\"serve-over-http\":\"off\",\"serve-over-ssh\":\"readwrite\"}', `credentialPHID` = NULL, `almanacServicePHID` = NULL, `spacePHID` = NULL, `id`
<<< [18] <query> 1,194 us
>>> [19] <query> COMMIT
<<< [19] <query> 1,729 us
>>> [20] <exec> $ git for-each-ref --sort='-creatordate' --format='%(objectname)%01%(objecttype)%01%(refname)%01%(*objectname)%01%(*objecttype)%01%(subject)%01%(creator)' 'refs/heads/'
<<< [20] <exec> 15,903 us
>>> [21] <exec> $ git for-each-ref --sort='-creatordate' --format='%(objectname)%01%(objecttype)%01%(refname)%01%(*objectname)%01%(*objecttype)%01%(subject)%01%(creator)' 'refs/tags/'
<<< [21] <exec> 15,287 us
>>> [22] <query> SELECT * FROM `repository_refcursor` r WHERE (repositoryPHID IN ('PHID-REPO-6pmvid3gk5jompjafdzs')) ORDER BY `id` DESC
<<< [22] <query> 1,418 us
>>> [23] <query> SELECT * FROM `repository_mirror` WHERE (repositoryPHID IN ('PHID-REPO-6pmvid3gk5jompjafdzs')) ORDER BY `id` DESC
<<< [23] <query> 1,085 us
>>> [24] <query> INSERT INTO `repository_statusmessage`
(repositoryID, statusType, statusCode, parameters, epoch)
VALUES (418, 'fetch', 'okay', '[]', 1440721169)
ON DUPLICATE KEY UPDATE
statusCode = VALUES(statusCode),
parameters = VALUES(parameters),
epoch = VALUES(epoch)
<<< [24] <query> 1,919 us
>>> [25] <query> SELECT RELEASE_LOCK('ph:phabric-6rILUDHKjHKu:repository.update:418')
<<< [25] <query> 1,064 us
<<< [4] <lock> 124,629 us
Updated repository rOST.

Event Timeline

nickz changed the title of this paste from untitled to create repo.
nickz updated the paste's language from autodetect to autodetect.