Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !1991

Buck publish to support zip_file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/linzhp/maven into master Aug 06, 2018
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 12

Created by: linzhp

This PR adds support to buck publish command to publish zip archive to Maven repositories.

why do we need this

We need to 1) publish home brew bottles; 2) upload third-party Go packages to Artifactory so we can build a project even when the original repository of a third-party package is deleted. Both need to publish zip archive.

why existing publish functionality doesn't work

Existing buck publish command require the target has maven flavor, which zip_file targets doesn't support. In fact zip_file doesn't need to build differently to be published to Maven

brief overview changes in the code.

  • Add maven_coords parameter to zip_file
  • Stop adding flavors to zip_file targets
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/linzhp/maven