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

IBX-6404: Added create bundle extension #2214

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

juskora
Copy link
Contributor

@juskora juskora commented Nov 7, 2023

Question Answer
JIRA Ticket https://issues.ibexa.co/browse/IBX-6404
Versions
Edition all

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@juskora juskora force-pushed the IBX-6404-bundle-extension branch 4 times, most recently from 9f0b169 to a428215 Compare November 13, 2023 11:11
@juskora juskora marked this pull request as ready for review November 13, 2023 11:56
Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Magdalena Dziadosz <[email protected]>
Co-authored-by: Magdalena Dziadosz <[email protected]>

# Create bundle

A bundle is a reusable [[= product_name =]] extension that can be integrated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about...
"Bundles are reusable [==] extensions that can be integrated"?
This would help get rid of the articles.

# Create bundle

A bundle is a reusable [[= product_name =]] extension that can be integrated.
To ensure full compatibility, follow the structure specifications described in the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To ensure full compatibility, follow the structure specifications described in the
When creating your own bundle, to ensure full compatibility, follow the structure specifications described in the

To ensure full compatibility, follow the structure specifications described in the
[package structure](package_structure.md/#package-and-bundle-structure-and-namespaces) section.

The bundle extension described here is called `AcmeCurrencyExchangeRate` and enables a new page block which displays a currency exchange rate on your site.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The bundle extension described here is called `AcmeCurrencyExchangeRate` and enables a new page block which displays a currency exchange rate on your site.
The bundle extension described here is called `AcmeCurrencyExchangeRate` and enables a new page block which displays a currency exchange rate.


The bundle extension described here is called `AcmeCurrencyExchangeRate` and enables a new page block which displays a currency exchange rate on your site.

You can create a bundle skeleton in two simplified ways:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can create a bundle skeleton in two simplified ways:
You can create a bundle skeleton in two ways:


You can create a bundle skeleton in two simplified ways:

- [using Ibexa bundle generator](#create-bundle-with-bundle-generator)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [using Ibexa bundle generator](#create-bundle-with-bundle-generator)
- [with [[= product_name_base =]] bundle generator](#create-bundle-with-bundle-generator)


![Submit package](packagist_submit.png)

2\. Provide the repository URL to your package, for example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2\. Provide the repository URL to your package, for example:
2\. Provide a URL address of the repository that holds your package, for example:


!!! note
When you add a new feature, you need to create a tag.
3\. To create a new tag, in GitHub, go to **Tags** section, and click **Create a new release**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3\. To create a new tag, in GitHub, go to **Tags** section, and click **Create a new release**.
3\. To create a new tag, in GitHub, go to **Tags** section, and click **Create a new release**.

Make sure the repository is set to public.
Each time you add a new feature to your bundle, you need to also add a new tag.

5\. Click the **Check** button to verify the bundle completeness.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
5\. Click the **Check** button to verify the bundle completeness.
5\. Click the **Check** button to verify the completeness of the bundle.


5\. Click the **Check** button to verify the bundle completeness.

In `composer.json` in the `repositories` indicate the type and bundle URL:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In `composer.json` in the `repositories` indicate the type and bundle URL:
In `composer.json`, under `repositories`, indicate the type and URL address of the bundle:

}
```

Any change in repository immediately affects the other bundle so you can see the changes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"in the repository"...
What other bundle? It is unclear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants