Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Update RELEASE_NOTES_GUIDE.md #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/resources/google_sourcerepo_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ See [google_sourcerepo_repository.md](google_sourcerepo_repository.md) for more
* `names`: an array of `google_sourcerepo_repository` name
* `urls`: an array of `google_sourcerepo_repository` url
* `sizes`: an array of `google_sourcerepo_repository` size
* `pubsub_configs`: an array of `google_sourcerepo_repository` pubsub_configs

## Filter Criteria
This resource supports all of the above properties as filter criteria, which can be used
Expand Down
2 changes: 0 additions & 2 deletions docs/resources/google_sourcerepo_repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ Properties that can be accessed from the `google_sourcerepo_repository` resource

* `size`: The disk usage of the repo, in bytes.

* `pubsub_configs`: How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.


## GCP Permissions

Expand Down
2 changes: 0 additions & 2 deletions libraries/google_sourcerepo_repositories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class SourceRepoRepositorys < GcpResourceBase
filter_table_config.add(:names, field: :name)
filter_table_config.add(:urls, field: :url)
filter_table_config.add(:sizes, field: :size)
filter_table_config.add(:pubsub_configs, field: :pubsub_configs)

filter_table_config.connect(self, :table)

Expand Down Expand Up @@ -69,7 +68,6 @@ def transformers
'name' => ->(obj) { return :name, obj['name'] },
'url' => ->(obj) { return :url, obj['url'] },
'size' => ->(obj) { return :size, obj['size'] },
'pubsubConfigs' => ->(obj) { return :pubsub_configs, obj['pubsubConfigs'] },
}
end

Expand Down
3 changes: 0 additions & 3 deletions libraries/google_sourcerepo_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#
# ----------------------------------------------------------------------------
require 'gcp_backend'
require 'google/sourcerepo/property/repository_pubsub_configs'

# A provider to manage Cloud Source Repositories resources.
class SourceRepoRepository < GcpResourceBase
Expand All @@ -26,7 +25,6 @@ class SourceRepoRepository < GcpResourceBase
attr_reader :name
attr_reader :url
attr_reader :size
attr_reader :pubsub_configs

def initialize(params)
super(params.merge({ use_http_transport: true }))
Expand All @@ -39,7 +37,6 @@ def parse
@name = @fetched['name']
@url = @fetched['url']
@size = @fetched['size']
@pubsub_configs = @fetched['pubsubConfigs']
end

# Handles parsing RFC3339 time string
Expand Down