• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

wikimedia/WikimediaDebug: Browser extension for Chrome and Firefox.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

wikimedia/WikimediaDebug

开源软件地址:

https://github.com/wikimedia/WikimediaDebug

开源编程语言:

JavaScript 67.2%

开源软件介绍:

WikimediaDebug

Wikimedia developers can use a special HTTP header, X-Wikimedia-Debug, to enable certain debugging features. This Web extension allows you to easily inject the header into Wikimedia HTTP/S requests. Header injection can be toggled via toolbar icon.

You can install WikimediaDebug for Firefox, or WikimediaDebug for Chromium.

Release process

Test the release

  • Clone the repository (if not already).

  • Checkout latest origin/master and ensure a clean working copy.

    git remote update && git checkout -B release -t origin/master
    # Warning: Deletes any untracked files!
    git clean -dffx
    
  • For Chrome:

    • Open the extension manager at chrome://extensions/.
    • Ensure any official installation of WikimediaDebug is disabled. (Temporarily)
    • Ensure "Developer mode" is enabled.
    • Use "Load unpacked" to load this directory as an extension.
    • Test the extension and confirm any change in functionality from a recent commit.
  • For Firefox:

    • Open the add-on manage at about:addons (Tools > Add-ons).
    • From the gear menu, click "Debug Add-ons".
    • Use "Load Temporary Add-on..." and navigate to this directory and select the manifest.json file.
    • Test the extension and confirm any change in functionality from a recent commit.

Create the release

  • After having tested the extension and having a clean working copy of origin/master (per the above), update the version in manifest.json (example) and create a commit for this release.

  • Add a bullet list of noteworthy changes to CHANGELOG.md.

  • Push the commit for review and merge it, then pull it down, then create a signed tag and push it.

    git remote update && git reset origin/master
    # edit manifest.json
    # edit CHANGELOG.md
    git add -p
    git commit -m "Tag X.Y.Z"
    git review
    # merge the commit
    git pull
    git tag -s X.Y.Z
    git push --tags
    
  • Create a ZIP archive of the extension directory.

    git archive -v --format zip -9 -o /tmp/WikimediaDebug.zip HEAD
    

Upload to the Chrome Web Store

See https://developer.chrome.com/webstore/publish.

  • On the Developer Dashboard, click "Edit" for WikimediaDebug. (Avoid "Add new item", which creates a new extension instead.)
  • Click "Package / Upload new package", then select your local ZIP archive.
  • Once back on the Edit page, click "Submit for review" at the top.
  • Done!

Upload to Firefox Add-ons

  • Log in at https://addons.mozilla.org/.
  • Open "Manage My Submissions" from the Tool menu.
  • Select "Wikimedia Debug Header".
  • Click "Upload New Version".
  • Click "Select a file..." and select the ZIP archive, then continue.
  • When asked for release notes, use the same bullet list as used for CHANGELOG.md.
  • Done!



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap