Skip to content

Project names are displayed in summary when access to Gradle Enterprise API is not available #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 14, 2023

Conversation

erichaagdev
Copy link
Member

@erichaagdev erichaagdev commented Apr 13, 2023

In #263 a change was made to always read the project name from the Gradle Enterprise API. All code around extracting the project name locally was removed. Unfortunately, the use case of not having access to the Gradle Enterprise API was not considered and therefore a regression was introduced.

Currently, without these changes, if Gradle Enterprise API access is not configured, the project name will be unknown.

image

With these changes, the project name will be shown even without Gradle Enterprise API access.

image

And for Maven (before | after):

image

@erichaagdev erichaagdev self-assigned this Apr 13, 2023
@erichaagdev erichaagdev force-pushed the erichaagdev/extract-name-from-project branch from baaa514 to cf1a6ac Compare April 13, 2023 01:17
@erichaagdev erichaagdev marked this pull request as ready for review April 13, 2023 02:02
@etiennestuder etiennestuder self-requested a review April 13, 2023 12:33
Copy link
Member

@etiennestuder etiennestuder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion open.

@erichaagdev erichaagdev force-pushed the erichaagdev/extract-name-from-project branch from e0bf269 to 07116d0 Compare April 13, 2023 18:31
Copy link
Member

@etiennestuder etiennestuder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erichaagdev erichaagdev merged commit 422822e into main Apr 14, 2023
@erichaagdev erichaagdev deleted the erichaagdev/extract-name-from-project branch April 14, 2023 13:51
erichaagdev added a commit that referenced this pull request Apr 19, 2023
* origin/main: (39 commits)
  Bump info.picocli:picocli from 4.7.2 to 4.7.3
  Gradle 8.1 considers signing task to be compatible with configuration cache
  Remove legacy build time field (#409)
  Use Provider API to read version and changes files
  Update gradle.properties
  Prepare for next round of development
  Update changes.md
  Prepare for 2.3.5 release
  Revert GE Maven extension to version 1.16.6
  Prepare for next round of development
  Prepare for 2.3.4 release
  Revert "Use Provider API to read version and changes files"
  Project names are displayed in summary when access to Gradle Enterprise API is not available (#400)
  Use Provider API to read version and changes files
  Bump com.gradle.enterprise from 3.12.6 to 3.13
  Bump com.gradle:gradle-enterprise-maven-extension from 1.16.6 to 1.17
  Bump Gradle Wrapper from 8.0.2 to 8.1
  Flip if condition for clarity
  Remove build_cache_metrics_only and all_data
  Update changes.md
  ...

# Conflicts:
#	components/scripts/lib/build-scan-offline.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants