Skip to content

Submit Application

Submitting Your Application

Brief Overview

  1. Test your application on Olares, create the Olares Application Chart according to guideline.
  2. Fork the official application repository of Olares Market. Add your application's chart. Create a PR to beclab/apps:main.
  3. Wait for GitBot to check your PR. If needed, modify PR until it passes.
  4. Once the PR is merged, your application is ready to launch.

1. Develop and test your application

Before submitting an application, please ensure that it has been thoroughly tested on your Olares.

2. Submit an application

The submission of the application needs to be completed through a Pull Request. Here's how:

  • Fork the official application repository of Olares Market and add your application's chart in your forked repository.

  • Create a Draft PR pointing to beclab/apps:main.

  • Please edit your PR title and text according to the template.

    • PR Title must in this format: [PR Type][FolderName][version]Title Content
    • PR Type includes:
      • NEW: Submit a new application
      • UPDATE: Update an already successfully merged application
      • REMOVE: Remove an already successfully merged application
      • SUSPEND: Suspend an already successfully merged application from distribution through the application store
    • FolderName is your Olares Application Chart name. It must adhere to the naming requirements in chart specification.
    • version refers to your application chart's Chart Version, which needs to be consistent with the version field in Chart.yaml and metadata section of OlaresManifest.yaml
  • To prevent your PR from being incorrectly parsed or closed, please adhere to the following rules:

    • Your PR title must contain only one PR Type, FolderName, and version.
    • Your PR Type must be one of the predefined types.
    • A PR should only add or modify content under the FolderName declared in the PR title.
    • Only one Open PR or Draft PR can exist at a time with the same FolderName.
    • You must be one of the owners of the folder you wish to modify. Owners are listed in the owners file within the chart. If you're submitting a new application, your GitHub username should be included in the owners file.
  • During the Draft PR phase, you can continuously adjust your PR content and add new commits. Once everything is ready, click on the 'Ready for review' button to submit the PR and call on GitBot to check.

NOTE

The title and content of the PR are crucial for GitBot. Please adhere to the template specifications when filling them out. GitBot may automatically close any invalid PRs.

3. Track your PR status

  • When your PR is labeled with PR type, it indicates that your PR title is valid. Please do not modify the PR Type afterwards. If it doesn't reflect your intentions, simply close it and create a new one.

  • You can track the progress of your PR through the status tags:

    • waiting to submit: your PR has an issue and requires further modification before merging.
    • closed: your PR is invalid or contains uncorrectable errors.
    • waiting to merge: Everything is progressing smoothly. Your PR has passed the check and is now awaiting auto-merge by the GitBot.
    • merged: your PR has been automatically merged into the beclab/apps:main.
  • If GitBot automatically closes your PR, please do not reopen it. This implies that the PR has irreparable issues, and GitBot had to terminate the check process. You can submit a new PR after making necessary modifications.

  • When the PR is in waiting to submit state, you can continue to submit Commits to modify your PR. After submitting the Commit, GitBot will recheck your submitted application chart files and update the PR status.

  • During the waiting to submit state, you can continue to submit commits to modify your application chart. GitBot will recheck the application chart files and update the PR status upon receiving a new commit.

  • Once your PR passes all checks, it will be automatically merged into the beclab/apps:main. The application will be listed on Olares Market after a while.

  • If you encounter any issues during the submission process, feel free to reach out to the Olares team or seek assistance from the community.

Managing Your Application

You can continue managing and maintaining your application by creating a Pull Request to beclab/apps:main. You can upgrade your application, modify its availability, or completely remove it from the Olares Market.

The process of managing applications is similar to submission.You create a specific type of Pull Request, and GitBot takes care of the rest. Olares uses special control files in the root directory of application chart to manage the application's status. These special control files are empty files with specific suffix, such as .suspend and .remove

NOTE

No ".suspend" or ".remove" files should be included in the initial submission.

Update

When you need to update a published application, you need to create an UPDATE PR.

Please note:

  • Whenever you make changes to your application chart, such as upgrade the program, update metadata, or change owner list, be sure to upgrade your chart version.
  • The chart version in the updated application chart must be greater than the current version in the repository.
  • No .suspend or .remove files included in the root directory of updated application chart.
  • The Olares Market does not offer version rollback. If there are any issues with your application, you need to submit a new version to fix it.
  • To avoid potential conflicts, we recommend syncing your fork and rebase the commits of PR to the latest main branch.

Suspend

If for any reason you want to temporarily disable your application's download and installation from the Olares Market, submit a SUSPEND PR.

Please note:

  • The chart version in the submitted application chart must match the current version in the repository.
  • The root directory you submit should contain the .suspend file and should not contain the .remove file.
  • Once the suspend PR passes check and merges, the application store will stop listing your application.
  • Users who have already downloaded and installed the application can continue to use it after suspension.

Remove

If for any reason you want to remove your application from the Olares Market, submit a REMOVE PR.

Please note:

  • Completely empty the files in the current application directory and add a .remove file to the root directory.
  • Once the remove PR passes check and merges, the application store will remove your application.
  • You will not be able to reuse the same directory or application chart name in the future.
  • Users who have already downloaded and installed the application can continue to use it after removal.

Promoting Your Application

Utilizing well-organized application descriptions, screenshots, and promotional images to highlight the features and functions of your application can help attract new users in the Market. Screenshots and previews can intuitively demonstrate the user experience, helping your application stand out.

To add promotional images on the application detail page, include links to these assets in the promoteImage fields within the spec section of the OlaresManifest.yaml file.

Assets Specifications for the Olares Market

  • The application's icon must be in PNG or WEBP format, up to 512 KB, with a size of 256x256 px.

  • It is highly recommended to upload at least 2 screenshots for promotion. Screenshots must be in JPEG, PNG, or WEBP format, up to 8MB each, with a size of 1440x900 px. You can upload up to 8 screenshots.

  • If you wish to have your application featured in the store, a featured image is required. Add a link to this image in the featuredImage field within the spec section of the OlaresManifest.yaml file. The image must be in JPEG, PNG, or WEBP format, up to 8MB, with a size of 1440x900 px

Inviting Others to Collaborate

There are two ways to invite others to develop Olares applications together:

  1. Add others developer's GitHub usernames to the owners file. Each developer listed in owners can then fork the repository and submit their changes independently.
  2. Add others as collaborators to your forked repository. In this case, you create the Pull Request as a representative, and all others can jointly commit to the branch that is planned to merge.