зеркало из https://github.com/mozilla/treeherder.git
minor spelling fixes (#1686) rs=emorley
This commit is contained in:
Родитель
d884754b76
Коммит
bfc5076e5a
|
@ -208,7 +208,7 @@ Releasing a new version of the Python client
|
|||
> twine upload dist/*
|
||||
|
||||
* File a ``Release Engineering::Buildduty`` bug requesting that the sdist
|
||||
and wheel releases (plus any new dependant packages) be added to the
|
||||
and wheel releases (plus any new dependent packages) be added to the
|
||||
internal PyPI mirror. For an example, see `bug 1236965`_.
|
||||
|
||||
.. _client Git log: https://github.com/mozilla/treeherder/commits/master/treeherder/client
|
||||
|
|
|
@ -30,7 +30,7 @@ Setting up Vagrant
|
|||
complete, depending on your network performance. If you experience
|
||||
any errors, see the :ref:`troubleshooting page
|
||||
<troubleshooting-vagrant>`. It is *very important* that the
|
||||
provisioning process complete sucessfully before trying to interact
|
||||
provisioning process complete successfully before trying to interact
|
||||
with your test instance of treeherder: some things might
|
||||
superficially seem to work a partially configured machine, but
|
||||
it is almost guranteed that some things *will break* in
|
||||
|
|
|
@ -28,5 +28,5 @@ A scheduler process in charge of running periodic tasks.
|
|||
Celerymon task monitor
|
||||
----------------------
|
||||
|
||||
This process provides an interface to the status of the worker and the running tasks. It can be used to provide such informations
|
||||
This process provides an interface to the status of the worker and the running tasks. It can be used to provide such information
|
||||
to monitoring tools like munin.
|
||||
|
|
|
@ -894,7 +894,7 @@ def test_retry_on_operational_failure(jm, monkeypatch):
|
|||
|
||||
|
||||
def test_update_autoclassification_bug(jm, test_repository, classified_failures):
|
||||
# Job 1 has two failue lines so nothing should be updated
|
||||
# Job 1 has two failure lines so nothing should be updated
|
||||
assert jm.update_autoclassification_bug(1, 1234) is None
|
||||
|
||||
job = jm.get_job(2)[0]
|
||||
|
|
|
@ -222,7 +222,7 @@ class JobsModel(TreeherderModelBase):
|
|||
return []
|
||||
except ExclusionProfile.DoesNotExist:
|
||||
# Either there's no default profile setup or the profile
|
||||
# specified is not availble
|
||||
# specified is not available
|
||||
pass
|
||||
|
||||
repl = [settings.DATABASES['default']['NAME'], replace_str]
|
||||
|
@ -404,7 +404,7 @@ class JobsModel(TreeherderModelBase):
|
|||
except (FailureLine.DoesNotExist, FailureLine.MultipleObjectsReturned):
|
||||
return None
|
||||
|
||||
# Only propogate the classification if there is exactly one unstructured failure
|
||||
# Only propagate the classification if there is exactly one unstructured failure
|
||||
# line for the job
|
||||
with ArtifactsModel(self.project) as am:
|
||||
bug_suggestion_lines = am.filter_bug_suggestions(
|
||||
|
@ -2008,7 +2008,7 @@ into chunks of chunk_size size. Returns the number of result sets deleted"""
|
|||
pass
|
||||
except ExclusionProfile.DoesNotExist:
|
||||
# Either there's no default profile setup or the profile
|
||||
# specified is not availble
|
||||
# specified is not available
|
||||
pass
|
||||
return signatures
|
||||
|
||||
|
|
|
@ -945,7 +945,7 @@ class ClassifiedFailure(models.Model):
|
|||
id = BigAutoField(primary_key=True)
|
||||
failure_lines = models.ManyToManyField(FailureLine, through='FailureMatch',
|
||||
related_name='classified_failures')
|
||||
# Note that we use a bug number of 0 as a sentinal value to indicate lines that
|
||||
# Note that we use a bug number of 0 as a sentinel value to indicate lines that
|
||||
# are not actually symptomatic of a real bug, but are still possible to autoclassify
|
||||
bug_number = models.PositiveIntegerField(blank=True, null=True, unique=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
|
@ -1001,7 +1001,7 @@ class LazyClassData(object):
|
|||
See https://docs.python.org/2/howto/descriptor.html for details of the descriptor
|
||||
protocol.
|
||||
|
||||
:param type_func: Callable of zero arguments used to initalize the data storage on
|
||||
:param type_func: Callable of zero arguments used to initialize the data storage on
|
||||
first access.
|
||||
:param setter: Callable of zero arguments used to populate the data storage
|
||||
after it has been initialized. Unlike type_func this can safely
|
||||
|
|
|
@ -85,7 +85,7 @@ class JobsViewSet(viewsets.ViewSet):
|
|||
def list(self, request, project, jm):
|
||||
"""
|
||||
GET method implementation for list view
|
||||
Optional paramters (default):
|
||||
Optional parameters (default):
|
||||
- offset (0)
|
||||
- count (10)
|
||||
- return_type (dict)
|
||||
|
|
|
@ -253,12 +253,12 @@ treeherder.provider('thAggregateIds', function() {
|
|||
};
|
||||
|
||||
var getGroupMapKey = function(result_set_id, grSymbol, grTier, plName, plOpt) {
|
||||
//Build string key for groupMap entires
|
||||
//Build string key for groupMap entries
|
||||
return escape(result_set_id + grSymbol + grTier + plName + plOpt);
|
||||
};
|
||||
|
||||
var getJobMapKey = function(job) {
|
||||
//Build string key for jobMap entires
|
||||
//Build string key for jobMap entries
|
||||
return 'key' + job.id;
|
||||
};
|
||||
|
||||
|
|
|
@ -389,7 +389,7 @@ treeherder.factory('ThStructuredLine', ['thExtendProperties',
|
|||
return item.id !== best.id;
|
||||
});
|
||||
} else if (best && best.bugNumber === 0) {
|
||||
return "ignore"; // This is a sentinal value we use when constructing the
|
||||
return "ignore"; // This is a sentinel value we use when constructing the
|
||||
// ignore options later so that we can replace the best
|
||||
} else {
|
||||
// The best classification didn't have a bug number so it needs a
|
||||
|
|
Загрузка…
Ссылка в новой задаче