Skip to content
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

Ошибки тестирования пакета для chocolatey #229

Closed
8 of 9 tasks
sergey-s-betke opened this issue Jul 27, 2016 · 3 comments
Closed
8 of 9 tasks

Comments

@sergey-s-betke
Copy link
Contributor

sergey-s-betke commented Jul 27, 2016

Были выявлены ошибки (https://chocolatey.org/packages/font.gost2.304-81.install):

  • This package uses a helper function that requires administrative permissions, the tag 'admin' should also be in the nuspec.
  • The iconUrl should be added if there is one. Please correct this in the nuspec, if applicable.
  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec.
  • docsUrl - points to the location of the wiki or docs of the software
  • mailingListUrl - points to the forum or email list group for the software
  • bugTrackerUrl - points to the location where issues and tickets can be accessed
  • projectSourceUrl - points to the location of the underlying software source
  • The package maintainer field (owners) matches the software author field (authors) in the nuspec. The reviewer will ensure that the package maintainer is also the software author.
  • Automated testing can also fail when a package is not completely silent or has pop ups. A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

(В продолжение #149)

@sergey-s-betke
Copy link
Contributor Author

sergey-s-betke commented Jul 27, 2016

packageSourceUrl отсутствует в xml схеме nuspec. nuget ругается при сборке. Поэтому добавил, но в комментарий.

О невозможности сборки пакета с помощью nuget в этом случае явно написано: https://github.com/chocolatey/package-validator/wiki/PackageSourceUrlMissing

Видимо, напрашивается сборка пакета с помощью choco pack...

@sergey-s-betke
Copy link
Contributor Author

Самая серьёзная проблема осталась с "полностью тихим" пакетом. Интерфейс для msi менял сознательно, чтобы обеспечить установку под UAC, потому как choco не запрашивал UAC...

Стоит попробовать полностью отключить интерфейс при установке и удалении msi пакета, и протестировать этот пакет из консоли с правами администратора...

@sergey-s-betke
Copy link
Contributor Author

Да, под администратором /quiet /qn вполне можно применять для msiexec...

sergey-s-betke added a commit that referenced this issue Jul 27, 2016
sergey-s-betke added a commit that referenced this issue Jul 27, 2016
* подключил gitter.im для этих целей
@sergey-s-betke sergey-s-betke mentioned this issue Jul 27, 2016
1 task
sergey-s-betke added a commit that referenced this issue Jul 27, 2016
* исключён `version.dtx` из репозитория
- добавлен тег 'admin' в nuspec (#229)
* добавлен `packageSourceUrl` (#229)
* добавлен `docsUrl` в пакет для chocolatey (#229)
* добавлен `bugTrackerUrl` в пакет для chocolatey (#229)
* добавлен `projectSourceUrl` в пакет для chocolatey (#229)
- изменены параметры `msiexec` на `/quiet /qn` в составе пакета chocolatey (#229)
* добавил `mailingListUrl` в nuspec chocolatey пакета (#229)
sergey-s-betke added a commit that referenced this issue Aug 3, 2016
* исключён `version.dtx` из репозитория
- добавлен тег 'admin' в nuspec (#229)
* добавлен `packageSourceUrl` (#229)
* добавлен `docsUrl` в пакет для chocolatey (#229)
* добавлен `bugTrackerUrl` в пакет для chocolatey (#229)
* добавлен `projectSourceUrl` в пакет для chocolatey (#229)
- изменены параметры `msiexec` на `/quiet /qn` в составе пакета chocolatey (#229)
* добавил `mailingListUrl` в nuspec chocolatey пакета (#229)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant