- Run
./scheduleUpdateSuggester 20180312
on tool forge (replace20180312
with the date of the latest JSON dump) - Wait
- Check the logs at
updateSuggester.err
for problems during the creation - Run
sha1sum analyzed-out
(or whatever hashing algorithm you prefer) gzip analyzed-out
- Rsync analyzed-out.gz to your local machine, commit to the wbs_propertypairs repo.
- Load it down to terbium (or some other maintenance host) with
https_proxy=http://webproxy.eqiad.wmnet:8080 wget 'https://github.com/wmde/wbs_propertypairs/raw/master/20180312/wbs_propertypairs.csv.gz'
(again, replace20180312
with the date of the JSON dump you produced). - Unpack it:
gzip -d
- Compare the checksum to the one obtained on tool forge
This file contains hidden or 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
[email protected] | |
45 10 * * 4 nice -n19 bash $HOME/bin/wikibase-dump-generation-smoke-tests |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
cd "$HOME/wikibase-validate-dump" | |
export https_proxy=http://webproxy:8080 | |
git fetch | |
if [[ ! "$(git log HEAD..origin/master)" == "" ]]; then | |
echo "New commits, please rebase:" |
This file contains hidden or 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
From b2df58f937bf6d9ea3891361e5edc037672b20f9 Mon Sep 17 00:00:00 2001 | |
From: root <[email protected]> | |
Date: Sat, 6 Mar 2021 19:39:50 +0100 | |
Subject: [PATCH] Compile with support for bytcr-wm5102+jack-detect | |
--- | |
0001-YogaTablet2.patch | 2467 +++++++++++++++++++++++++++++++++++++++ | |
filter-x86_64.sh.fedora | 4 +- | |
kernel-local | 18 + | |
kernel.spec | 4 +- |
This file contains hidden or 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
From 976ca0414020562c2efdc56e6605d136a2ba6eb5 Mon Sep 17 00:00:00 2001 | |
From: root <[email protected]> | |
Date: Sat, 6 Mar 2021 19:39:50 +0100 | |
Subject: [PATCH] Compile with support for bytcr-wm5102 | |
--- | |
0001-WM5102.patch | 1105 +++++++++++++++++++++++++++++++++++++++ | |
Patchlist | 1 + | |
filter-x86_64.sh | 4 +- | |
filter-x86_64.sh.fedora | 4 +- |
This file contains hidden or 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 | |
namespace Wikibase; | |
use Deserializers\DispatchingDeserializer; | |
use Language; | |
use Maintenance; | |
use Wikibase\Client\WikibaseClient; | |
use Wikibase\Client\DataAccess\Scribunto\EntityAccessor; | |
use Wikibase\Client\Usage\HashUsageAccumulator; |
This file contains hidden or 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
#!/usr/bin/bash | |
if [[ "$1" == "" ]] || [[ "$2" == "" ]] || [[ "$1" == "--help" ]]; then | |
echo "Usage: $0 [-f] exception-log-file needle" | |
echo | |
echo "Searches exception.log(.gz) files for a specific exception string and prints the exception including stack trace." | |
echo "Use -f to follow newly added lines (like tail -f). Needle is case-sensitive." | |
exit | |
fi |
This file contains hidden or 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
Creating the object and make it do EntityDataSerializationService::initFormats by calling EntityDataSerializationService::getSupportedMimeTypes: | |
hoo@mw1017:~$ sudo -u www-data mwscript eval.php --wiki wikidatawiki | |
> function getSerializationService() { $wikibaseRepo = Wikibase\Repo\WikibaseRepo::getDefaultInstance(); $entityRevisionLookup = $wikibaseRepo->getEntityRevisionLookup(); $titleLookup = $wikibaseRepo->getEntityTitleLookup(); $entityIdParser = $wikibaseRepo->getEntityIdParser(); $serializationOptions = new Wikibase\Lib\Serializers\SerializationOptions(); $serializerFactory = new Wikibase\Lib\Serializers\SerializerFactory( $serializationOptions, $wikibaseRepo->getPropertyDataTypeLookup(), $wikibaseRepo->getEntityFactory() ); $serializationService = new Wikibase\Repo\LinkedData\EntityDataSerializationService( $wikibaseRepo->getSettings()->getSetting( 'conceptBaseUri' ), 'someString/', $wikibaseRepo->getStore()->getEntityLookup(), $titleLookup, $serializerFactory, $wikibaseRepo->getPropertyDataTypeL |
This file contains hidden or 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
From 5a02248b9e8671ac80a657c2c53229c688f033dd Mon Sep 17 00:00:00 2001 | |
From: Marius Hoch <[email protected]> | |
Date: Sun, 21 Feb 2016 21:38:41 +0100 | |
Subject: [PATCH] Add --profile-tests to phpunit.php | |
Change-Id: I4c9fcd6b90151b5b3b3dff65bfc0ce8589b7da7b | |
--- | |
tests/phpunit/phpunit.php | 29 +++++++++++++++++++++++++++++ | |
1 file changed, 29 insertions(+) |
This file contains hidden or 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
Index: network-openssl.c | |
=================================================================== | |
--- network-openssl.c (revision 5224) | |
+++ network-openssl.c (working copy) | |
@@ -50,6 +50,19 @@ | |
int port; | |
} GIOSSLChannel; | |
+void irssi_redraw(void); | |
+ |
NewerOlder