Skip to content

Commit af01429

Browse files
MAGECLOUD-5481: Update Magento Cloud template licenses for files (#447)
1 parent bbd9ee6 commit af01429

File tree

6 files changed

+103
-10
lines changed

6 files changed

+103
-10
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at engcom@magento.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!---
2+
Thank you for contributing to Magento.
3+
To help us process this pull request we recommend that you add the following information:
4+
- Summary of the pull request,
5+
- Issue(s) related to the changes made,
6+
- Manual testing scenarios,
7+
-->
8+
9+
<!--- Please provide a general summary of the Pull Request in the Title above -->
10+
11+
### Description
12+
<!---
13+
Please provide a description of the changes proposed in the pull request.
14+
Letting us know what has changed and why it needed changing will help us validate this pull request.
15+
-->
16+
17+
### Fixed Issues (if relevant)
18+
<!---
19+
If relevant, please provide a list of fixed issues in the format magento/magento-cloud#<issue_number>.
20+
There could be 1 or more issues linked here and it will help us find some more information about the reasoning behind this change.
21+
-->
22+
1. magento/magento-cloud#<issue_number>: Issue title
23+
2. ...
24+
25+
### Manual testing scenarios
26+
<!---
27+
Please provide a set of unambiguous steps to test the proposed code change.
28+
Giving us manual testing scenarios will help with the processing and validation process.
29+
-->
30+
1. ...
31+
2. ...
32+
33+
### Contribution checklist
34+
- [ ] Pull request has a meaningful description of its purpose
35+
- [ ] All commits are accompanied by meaningful commit messages

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@
2323
!/update
2424
!/update/.htaccess
2525
!/README.md
26+
!/.github
27+
!/.github/*

.magento.app.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file describes an application. You can have multiple applications
22
# in the same project.
33

4-
54
# The name of this app. Must be unique within a project.
65
name: mymagento
76

@@ -63,7 +62,6 @@ web:
6362
^/static/version\d+/(?<resource>.*)$:
6463
passthru: "/static/$resource"
6564

66-
6765
# The size of the persistent disk of the application (in MB).
6866
disk: 2048
6967

magento-vars.php

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
<?php
2-
// enable, adjust and copy this code for each store you run
3-
// Store #0, default one
4-
//if (isHttpHost("example.com")) {
5-
// $_SERVER["MAGE_RUN_CODE"] = "default";
6-
// $_SERVER["MAGE_RUN_TYPE"] = "store";
7-
//}
8-
function isHttpHost($host)
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/**
8+
* Enable, adjust and copy this code for each store you run
9+
*
10+
* Store #0, default one
11+
*
12+
* if (isHttpHost("example.com")) {
13+
* $_SERVER["MAGE_RUN_CODE"] = "default";
14+
* $_SERVER["MAGE_RUN_TYPE"] = "store";
15+
* }
16+
*
17+
* @param string $host
18+
* @return bool
19+
*/
20+
function isHttpHost(string $host)
921
{
1022
if (!isset($_SERVER['HTTP_HOST'])) {
1123
return false;

php.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; php.ini
1+
; php.ini
22

33
;
44
; Increase PHP memory limit

0 commit comments

Comments
 (0)