chore(librarian): Add header to files under .librarian/generator-input#14901
Merged
chore(librarian): Add header to files under .librarian/generator-input#14901
Conversation
ohmayr
reviewed
Nov 21, 2025
ohmayr
approved these changes
Nov 21, 2025
parthea
added a commit
that referenced
this pull request
Dec 16, 2025
…put (#14971) This PR fixes a bug introduced in #14901 which adds the following text to all generated files. We only want this text added to `.librarian/generator-input` ``` # DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input` # The source of truth for this file is `.librarian/generator-input` ```
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Files residing in
.librarian/generator-inputare the source of truth and override their counterparts in the root directory. Modifications intended for files such assetup.pymust be applied within.librarian/generator-input.IOW, for
python-datastore, we need to make changes in https://github.com/googleapis/python-datastore/blob/main/.librarian/generator-input/setup.py rather than https://github.com/googleapis/python-datastore/blob/main/setup.py because the source of truth is.librarian/generator-input/setup.pyThis PR adds a header with the following text to all files in
.librarian/generator-input, excluding JSON files which don't support comments.