Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

display_name constraints in package_branch.rb causes conflicts #107

Open
dayglojesus opened this issue Nov 30, 2011 · 0 comments
Open

display_name constraints in package_branch.rb causes conflicts #107

dayglojesus opened this issue Nov 30, 2011 · 0 comments
Labels

Comments

@dayglojesus
Copy link
Contributor

Uploading a pkg that shares a display_name attrib with a package in another branch, causes a conflict:

*** ERROR ***
1 error prohibited this package from being saved
There were problems with the following fields:
Package branch display name has already been taken

*** EXAMPLE ***
Branch A, Name: Silverlight

  • empty branch, no packages
  • this branch is the name that makepkginfo parses out by default

Branch B, Name: Microsoft_Silverlight

  • contains multiple packages with display_name: Microsoft® Silverlight™ Browser Plug-In
  • this branch's name was edited manually
  • this branch name is referenced in all manifests and is the preferred name

Upload a New Package: Silverlight.dmg

  • this package was downloaded directly from Microsoft
  • makepkginfo determines
  • display_name: Microsoft® Silverlight™ Browser Plug-In
  • name: Silverlight

Upon upload, the package will produce an error because the constraints in package_branch.rb demand that all display_name attributes be unique across all branches. The conflicting display_name in the two different branches is not allowed.

The display_name attribute should be arbitrary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants