summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2017-02-11 07:33:06 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2017-02-11 07:33:13 +0000
commite89680b5b08fadec7b31d9dbda2a376c669da9a4 (patch)
tree5154517308d23140113f8f6bd032217e107028a5
parenta2fa4368d1c417be6687969c5ddbbee68628c156 (diff)
downloadbuildstream-e89680b5b08fadec7b31d9dbda2a376c669da9a4.tar.gz
Remove apostrophes from grammatically incorrect instances of "it's"
-rw-r--r--HACKING.rst4
-rw-r--r--README.rst2
-rwxr-xr-x[-rw-r--r--]buildstream/_loader.py4
-rwxr-xr-x[-rw-r--r--]buildstream/_plugincontext.py0
-rwxr-xr-x[-rw-r--r--]buildstream/_scheduler.py4
-rwxr-xr-x[-rw-r--r--]buildstream/_variables.py2
-rwxr-xr-x[-rw-r--r--]buildstream/element.py2
-rwxr-xr-x[-rw-r--r--]buildstream/plugin.py4
-rw-r--r--buildstream/plugins/elements/import.py2
-rw-r--r--buildstream/plugins/elements/stack.py2
-rwxr-xr-x[-rw-r--r--]buildstream/plugins/sources/git.py2
-rwxr-xr-x[-rw-r--r--]buildstream/plugins/sources/ostree.py2
-rw-r--r--buildstream/utils.py6
-rw-r--r--doc/source/format.rst4
-rw-r--r--tests/sources/fixture.py2
15 files changed, 21 insertions, 21 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 447860ef5..c6a350eed 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -69,7 +69,7 @@ One Class One Module
~~~~~~~~~~~~~~~~~~~~
BuildStream is mostly Object Oriented with a few utility files.
-* Every object should go into it's own file (module) inside the buildstream package
+* Every object should go into its own file (module) inside the buildstream package
* Files should be named after their class in lower case with no underscore.
This is to say a class named FooBar will certainly reside in a file named foobar.py.
@@ -98,7 +98,7 @@ Exceptions to the above rules is to follow a principle of least underscores:
* If a module is entirely private, there is no need for the classes
it contains to have a leading underscore.
-* If a class is entirely private, there is no need to mark it's members
+* If a class is entirely private, there is no need to mark its members
as private with leading underscores.
diff --git a/README.rst b/README.rst
index 295f46d06..43cbaf7c7 100644
--- a/README.rst
+++ b/README.rst
@@ -13,6 +13,6 @@ elements for doing more elaborate things such as running custom CI tests or depl
software in special ways.
The build pipeline is a flow based concept which operates on filesystem data as
-input and output. An element's input is the sum of it's dependencies, sources and
+input and output. An element's input is the sum of its dependencies, sources and
configuration loaded from the YAML, while the output is something on the filesystem
which another element can then depend on.
diff --git a/buildstream/_loader.py b/buildstream/_loader.py
index f2d59f649..5c66ec09c 100644..100755
--- a/buildstream/_loader.py
+++ b/buildstream/_loader.py
@@ -470,7 +470,7 @@ class Loader():
#
# 2.) Starting at the top level, try to resolve the
#
- # For each element; collect an array of it's variants; each member of
+ # For each element; collect an array of its variants; each member of
# the variant array speaks for the dependencies of the given element
#
def resolve_variants(self):
@@ -508,7 +508,7 @@ class Loader():
# With a given configuration in context, reports whether the configuration
# is a valid one for the given element and all of the possible elements on
# which this element depends, returning a new configuration comprised of
- # the given configuration and the first valid configuration of it's
+ # the given configuration and the first valid configuration of its
# dependencies
#
def configure_variants(self, element_config, pool):
diff --git a/buildstream/_plugincontext.py b/buildstream/_plugincontext.py
index 9f3bd4d02..9f3bd4d02 100644..100755
--- a/buildstream/_plugincontext.py
+++ b/buildstream/_plugincontext.py
diff --git a/buildstream/_scheduler.py b/buildstream/_scheduler.py
index 43f7a9507..4a27be7c4 100644..100755
--- a/buildstream/_scheduler.py
+++ b/buildstream/_scheduler.py
@@ -49,7 +49,7 @@ class Process(multiprocessing.Process):
# elements have been traversed or when an occurs.
#
# Using the scheduler is a matter of:
-# a.) Deriving the Queue class and implementing it's abstract methods
+# a.) Deriving the Queue class and implementing its abstract methods
# b.) Instantiating a Scheduler with one or more queues
# c.) Calling Scheduler.run(elements) with a list of elements
# d.) Fetching results from your queues at queue.results
@@ -469,7 +469,7 @@ class Job():
#
# The multiprocessing.Queue object does not tell us how
# to receive io events in the receiving process, so we
- # need to sneak in and get it's file descriptor.
+ # need to sneak in and get its file descriptor.
#
# The _reader member of the Queue is currently private
# but well known, perhaps it will become public:
diff --git a/buildstream/_variables.py b/buildstream/_variables.py
index 0b656e806..81e7a50f8 100644..100755
--- a/buildstream/_variables.py
+++ b/buildstream/_variables.py
@@ -32,7 +32,7 @@ VARIABLE_MATCH = r'\%\{([a-zA-Z][a-zA-Z0-9_-]*)\}'
# the given dictionary, expecting that any dictionary values which contain
# variable references can be resolved from the same dictionary.
#
-# Each Element creates it's own Variables instance to track the configured
+# Each Element creates its own Variables instance to track the configured
# variable settings for the element.
#
# Args:
diff --git a/buildstream/element.py b/buildstream/element.py
index 4ac71987c..6415194a5 100644..100755
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -327,7 +327,7 @@ class Element(Plugin):
(:class:`.ElementError`): When the element raises an error
Elements must implement this method to create an output
- artifact from it's sources and dependencies.
+ artifact from its sources and dependencies.
"""
raise ImplError("element plugin '{kind}' does not implement assemble()".format(
kind=self.get_kind()))
diff --git a/buildstream/plugin.py b/buildstream/plugin.py
index 4134b358e..8ce30a7cc 100644..100755
--- a/buildstream/plugin.py
+++ b/buildstream/plugin.py
@@ -302,7 +302,7 @@ class Plugin():
# Activity will be logged and timed
with self.timed_activity("Mirroring {}".format(self.url)):
- # This will raise SourceError on it's own
+ # This will raise SourceError on its own
self.call(... command which takes time ...)
"""
starttime = datetime.datetime.now()
@@ -519,7 +519,7 @@ __PLUGINS_TABLE = WeakValueDictionary()
# _plugin_lookup():
#
-# Fetch a plugin in the current process by it's
+# Fetch a plugin in the current process by its
# unique identifier
#
# Args:
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py
index 27dc354bf..500d343f3 100644
--- a/buildstream/plugins/elements/import.py
+++ b/buildstream/plugins/elements/import.py
@@ -20,7 +20,7 @@
"""Import element
-Import elements produce artifacts directly from it's sources
+Import elements produce artifacts directly from its sources
without any kind of processing. These are typically used to
import an SDK to build on top of or to overlay your build with
some configuration data.
diff --git a/buildstream/plugins/elements/stack.py b/buildstream/plugins/elements/stack.py
index 18660bfee..b58eaf202 100644
--- a/buildstream/plugins/elements/stack.py
+++ b/buildstream/plugins/elements/stack.py
@@ -44,7 +44,7 @@ class StackElement(Element):
def assemble(self, sandbox):
- # Just create a dummy empty artifact, it's existence is a statement
+ # Just create a dummy empty artifact, its existence is a statement
# that all this stack's dependencies are built.
rootdir = sandbox.executor.fs_root
outputdir = os.path.join(rootdir, 'output', 'bst')
diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py
index 446470147..add6d8c5b 100644..100755
--- a/buildstream/plugins/sources/git.py
+++ b/buildstream/plugins/sources/git.py
@@ -184,7 +184,7 @@ class GitMirror():
yield (path, url)
- # Fetch the ref which this mirror requires it's submodule to have,
+ # Fetch the ref which this mirror requires its submodule to have,
# at the given ref of this mirror.
def submodule_ref(self, submodule, ref=None):
if not ref:
diff --git a/buildstream/plugins/sources/ostree.py b/buildstream/plugins/sources/ostree.py
index 1576859f9..fd9c96343 100644..100755
--- a/buildstream/plugins/sources/ostree.py
+++ b/buildstream/plugins/sources/ostree.py
@@ -95,7 +95,7 @@ class OSTreeSource(Source):
node['ref'] = self.ref = ref
def track(self):
- # If self.tracking is not specified it's not an error, just silently return
+ # If self.tracking is not specified its' not an error, just silently return
if not self.tracking:
return None
diff --git a/buildstream/utils.py b/buildstream/utils.py
index a98ca2590..b254e2697 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -283,9 +283,9 @@ def _relative_symlink_target(root, symlink, target):
if os.path.isabs(target):
# First fix the input a little, the symlink itself must not have a
# trailing slash, otherwise we fail to remove the symlink filename
- # from it's directory components in os.path.split()
+ # from its directory components in os.path.split()
#
- # The absolute target filename must have it's leading separator
+ # The absolute target filename must have its leading separator
# removed, otherwise os.path.join() will discard the prefix
symlink = symlink.rstrip(os.path.sep)
target = target.lstrip(os.path.sep)
@@ -370,7 +370,7 @@ def _set_deterministic_mtime(directory):
# Python's os.utime only ever modifies the timestamp
# of the target, it is not acceptable to set the timestamp
# of the target here, if we are staging the link target we
- # will also set it's timestamp.
+ # will also set its timestamp.
#
# We should however find a way to modify the actual link's
# timestamp, this outdated python bug report claims that
diff --git a/doc/source/format.rst b/doc/source/format.rst
index d28f0fe85..76e94b2d0 100644
--- a/doc/source/format.rst
+++ b/doc/source/format.rst
@@ -149,7 +149,7 @@ Kind
kind: autotools
The ``kind`` attribute specifies which plugin will be operating on the element's input to
-produce it's output. Plugins define element types and each of them can be referred to by
+produce its output. Plugins define element types and each of them can be referred to by
name with the ``kind`` attribute.
@@ -295,7 +295,7 @@ and software building as separate problem spaces. This is to say that one elemen
can only ever depend on another element but never on a subset of the product which
another element produces.
-In this section we'll quickly go over the few features BuildStream offers in it's
+In this section we'll quickly go over the few features BuildStream offers in its
dependency model.
diff --git a/tests/sources/fixture.py b/tests/sources/fixture.py
index affb3ca94..9a558ecc0 100644
--- a/tests/sources/fixture.py
+++ b/tests/sources/fixture.py
@@ -7,7 +7,7 @@ from buildstream._sourcefactory import SourceFactory
# Hacked hand fashioned fixture, just a helper function
-# because it's tricky to have a pytest fixture take arguments
+# because its tricky to have a pytest fixture take arguments
#
# datafiles: A project directory datafiles
# target: A target element bst file