Git Product home page Git Product logo

brackets-updates's Introduction

⚠️ On September 1, 2021, Adobe will end support for Brackets. If you would like to continue using, maintaining, and improving Brackets, you may fork the project on GitHub. Through Adobe’s partnership with Microsoft, we encourage users to migrate to Visual Studio Code, Microsoft’s free code editor built on open source.
This repo contains update notification JSON files for Brackets (repo). As an end user, you'll see them using Help > Check for Updates, or whenever a new version is released.

Brackets checks for updates by downloading a copy of this JSON info from a fixed S3 URL. Updating this repo does not automatically push the changes "live" to S3. This repo is used to discuss changes and prepare translations before the updates files go live.

To push new update files

Note: Beginning with Release 39 all update JSON files are available from https://s3.amazonaws.com/files.brackets.io/updates/stable

Initial Setup

There is a nodejs script that will take care of uploading the update notifications into the S3 bucket. The script will preserve all attributes on existing files in the S3 bucket. In order to deploy the update notifications to S3, some required libs have to be installed upfront.

  1. cd into scripts
  2. run npm install
  3. edit config.json from the scripts directory and replace the placeholder with your AWS AccessKey and SecretKey (ask Ryan, Kevin or Ingo for these information)

Prepare the update notification

NOTE: Running this script will replace the current files in the S3 bucket. There is no backup of the existing files and the update notification are immediately visible to everybody using Brackets.

  1. Make sure the JSON parses cleanly (you can use http://jsonlint.com, but the errors might not be as good as calling JSON.parse()).
  2. Check the files into this repo's master.
  3. Open a terminal and cd into scripts.
  4. Run ./create-gzipped-jsons.sh. This will create a new folder GZIPPED_JSONS with the gzipped version of the update notification.
  5. run node deployUpdateNotifications.js

To check update appearance in Brackets

  1. Change UpdateNotification._getVersionInfoURL() to always return...
  2. Reload, then Help > Check for Updates

brackets-updates's People

Contributors

jasonsanjose avatar redmunds avatar njx avatar ingorichter avatar nethip avatar jeffrybooher avatar mynetx avatar tommalbran avatar pthiess avatar swmitra avatar couzteau avatar pantkowiak avatar adrocknaphobia avatar peterflynn avatar ybayer avatar gruehle avatar prafulvaishnav avatar abose avatar jhagenst avatar jbalsas avatar bchintx avatar busykai avatar arturoledzki avatar saplayer avatar ryanstewart avatar rroshan1 avatar boopeshmahendran avatar zaggino avatar mortonfox avatar niteskum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.