This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* On Git migration day we have to clean out the existing tests of | |
* testable branches so they can be tested again. The ones that will already be | |
* there on QA are all not testable. | |
* | |
* This is a translation of the pseudocode in | |
* http://drupal.org/node/1057146#comment-4073288 | |
* | |
* It seems to work, and if I'm not mistaken it won't do any damage, but would |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nbproject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rfay@rfay-bigsony:/tmp/git_migration_dummy$ git commit -m "First file in 7.x" | |
[7.x-1.x 8298f34] First file in 7.x | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 100644 README.txt | |
rfay@rfay-bigsony:/tmp/git_migration_dummy$ git push origin 7.x-1.x | |
Counting objects: 4, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (2/2), done. | |
Writing objects: 100% (3/3), 313 bytes, done. | |
Total 3 (delta 0), reused 0 (delta 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
#server_name ~^($<domain>.*)\.l\/.*$; | |
server_name ~^(www\.)?(?<domain>.+)\.l$; | |
root /home/rfay/workspace/$domain; | |
allow all; | |
# Very rarely should these ever be accessed outside of your lan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add 8.x to project_release_active_compatibility_tids | |
update variable set value="a:12:{i:103;i:103;i:87;i:87;i:78;i:78;i:79;i:79;i:80;i:0;i:81;i:0;i:82;i:0;i:83;i:0;i:84;i:0;i:85;i:0;i:86;i:0;i:7234;i:7234;}" where name="project_release_active_compatibility_tids" | |
Then add 7234 to pift_core | |
Notes about debugging status: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generate step map and confirmation step map. | |
*/ | |
public function init() { | |
$i = $j = 1; | |
foreach ($this->steps as $step => $info) { | |
$this->map[$i++] = $step; | |
if ($info['confirmation'] !== FALSE) { | |
$this->confirmation_map[$j++] = $step; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$result = db_queryd('SELECT f.fid, f.filepath, u.nid AS u_nid, cu.nid AS c_nid, cu.cid AS c_cid | |
FROM {pift_test} t | |
JOIN {files} f | |
ON (t.type = %d AND t.id = f.fid) | |
LEFT JOIN {upload} u | |
ON f.fid = u.fid | |
LEFT JOIN {comment_upload} cu | |
ON f.fid = cu.fid | |
WHERE t.status = %d | |
LIMIT %d', PIFT_TYPE_FILE, PIFT_STATUS_QUEUE, PIFT_XMLRPC_MAX); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A very basic form which with an AJAX-enabled submit. | |
* | |
* On submit, the markup in the #markup element is updated. | |
*/ | |
function ajax_example_submit_driven_ajax($form, &$form_state) { | |
if (empty($form_state['sequence'])) { | |
$form_state['sequence'] = 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this in your .gitconfig | |
[url "http://git.drupal.org/project/"] | |
insteadOf = "do:" |