简体   繁体   English

将 dart 库转移到 pub.dartlang.org 中的另一个所有者

[英]Transferring a dart library to another owner in pub.dartlang.org

Since pub uses my identity for the publish, how would I go about transferring control to someone else, yet still allow them to publish releases to the same project?由于 pub 使用我的身份进行发布,我将如何将控制权转移给其他人,但仍然允许他们将版本发布到同一个项目? Maybe this is trivial;也许这是微不足道的; I've never tried it.我从来没有尝试过。

You can use pub uploader [options] {add/remove} <email> .您可以使用pub uploader [options] {add/remove} <email>

Once the new uploader added, you can remove yourself.添加新上传者后,您可以删除自己。

pub uploader add <new-owner-email>
pub uploader remove <old-owner-email>

$ pub uploader -h

Manage uploaders for a package on pub.dartlang.org.

Usage: pub uploader [options] {add/remove} <email>
-h, --help       Print usage information for this command.
    --server     The package server on which the package is hosted.
                 (defaults to "https://pub.dartlang.org")

    --package    The package whose uploaders will be modified.
                 (defaults to the current package)

Update: It is now possible to invite new uploaders using the admin tab on the package page on pub.dev website.更新:现在可以使用pub.dev网站上的包页面上的管理选项卡邀请新的上传者。

邀请上传者

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Dart和http://pub.dartlang.org/packages/route - Dart and http://pub.dartlang.org/packages/route 我如何确定pub.dartlang.org上弃用了Google Dart Team的某些软件包? - How I can determine that some packages from Google Dart Team deprecated on pub.dartlang.org? 我需要在使用Dart包之前将其发布到pub.dartlang.org吗? - Am I required to publish my Dart package to pub.dartlang.org before I use it? 如何估计pub.dartlang.org包的质量? - How to estimate the quality of pub.dartlang.org packages? 在 pub.dartlang.org 上发布的包的下载统计信息? - Download statistics for packages published on pub.dartlang.org? 如何在仍然引用pub.dartlang.org的包时运行私有pub服务器? - How do I run a private pub server while still referencing packages from pub.dartlang.org? Flutter 调试 /root/.pub-cache/hosted/pub.dartlang.org 包中的编译错误 - Flutter debug compilation error from /root/.pub-cache/hosted/pub.dartlang.org packages 尝试在 https://pub.dartlang.org 查找 package cupertino_icons 时出现套接字错误 - Got socket error trying to find package cupertino_icons at https://pub.dartlang.org 尝试在 https://pub.dartlang.org 上查找包 english_words 时出现套接字错误 - Got socket error trying to find package english_words at https://pub.dartlang.org 尝试在 https://pub.dartlang.org 上查找包 ABC 时出现 TLS 错误 - Got TLS error trying to find package ABC at https://pub.dartlang.org
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM