Public Member Functions | Public Attributes | List of all members
upload.VersionControlSystem Class Reference
Inheritance diagram for upload.VersionControlSystem:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GenerateDiff (self, args)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 

Public Attributes

 options
 

Detailed Description

Abstract base class providing an interface to the VCS.

Definition at line 588 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

Constructor & Destructor Documentation

◆ __init__() [1/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [2/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [3/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [4/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [5/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [6/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

◆ __init__() [7/7]

def upload.VersionControlSystem.__init__ (   self,
  options 
)

Member Function Documentation

◆ CheckForUnknownFiles() [1/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ CheckForUnknownFiles() [2/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ CheckForUnknownFiles() [3/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ CheckForUnknownFiles() [4/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ CheckForUnknownFiles() [5/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ CheckForUnknownFiles() [6/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 613 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ CheckForUnknownFiles() [7/7]

def upload.VersionControlSystem.CheckForUnknownFiles (   self)
Show an "are you sure?" prompt if there are unknown files.

Definition at line 628 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GenerateDiff() [1/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [2/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [3/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [4/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [5/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [6/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GenerateDiff() [7/7]

def upload.VersionControlSystem.GenerateDiff (   self,
  args 
)

◆ GetBaseFile() [1/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [2/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [3/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [4/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [5/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [6/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 625 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [7/7]

def upload.VersionControlSystem.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented in upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.MercurialVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.GitVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, upload.SubversionVCS, and upload.SubversionVCS.

Definition at line 640 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GetBaseFiles() [1/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFiles() [2/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFiles() [3/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFiles() [4/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFiles() [5/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFiles() [6/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 642 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFiles() [7/7]

def upload.VersionControlSystem.GetBaseFiles (   self,
  diff 
)
Helper that calls GetBase file for each file in the patch.

Returns:
  A dictionary that maps from filename to GetBaseFile's tuple.  Filenames
  are retrieved based on lines that start with "Index:" or
  "Property changes on:".

Definition at line 657 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GetUnknownFiles() [1/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [2/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [3/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [4/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [5/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [6/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ GetUnknownFiles() [7/7]

def upload.VersionControlSystem.GetUnknownFiles (   self)

◆ IsImage() [1/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ IsImage() [2/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ IsImage() [3/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ IsImage() [4/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ IsImage() [5/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ IsImage() [6/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 713 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ IsImage() [7/7]

def upload.VersionControlSystem.IsImage (   self,
  filename 
)
Returns true if the filename has an image extension.

Definition at line 728 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ UploadBaseFiles() [1/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ UploadBaseFiles() [2/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ UploadBaseFiles() [3/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ UploadBaseFiles() [4/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ UploadBaseFiles() [5/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ UploadBaseFiles() [6/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 661 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ UploadBaseFiles() [7/7]

def upload.VersionControlSystem.UploadBaseFiles (   self,
  issue,
  rpc_server,
  patch_list,
  patchset,
  options,
  files 
)
Uploads the base files (and if necessary, the current ones as well).

Definition at line 676 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

Member Data Documentation

◆ options

upload.VersionControlSystem.options

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:56