Skip to content

Shorter copyright header #4767

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

Merged
merged 15 commits into from
May 8, 2025
Merged

Shorter copyright header #4767

merged 15 commits into from
May 8, 2025

Conversation

sreichel
Copy link
Contributor

Related Pull Requests

@github-actions github-actions bot added environment Component: Core Relates to Mage_Core Component: Catalog Relates to Mage_Catalog Component: Cms Relates to Mage_Cms Component: CatalogInventory Relates to Mage_CatalogInventory Component: Checkout Relates to Mage_Checkout Component: AdminNotification Relates to Mage_AdminNotification Component: Customer Relates to Mage_Customer Component: Eav Relates to Mage_Eav Component: Adminhtml Relates to Mage_Adminhtml Mage.php Relates to app/Mage.php Component: Api PageRelates to Mage_Api Component: Cron Relates to Mage_Cron Component: Captcha Relates to Mage_Captcha Component: Contacts Relates to Mage_Contacts Component: CurrencySymbol Relates to Mage_CurrencySymbol Component: CatalogRule Relates to Mage_CatalogRule Component: Admin Relates to Mage_Admin Component: Downloadable Relates to Mage_Downloadable Component: Bundle Relates to Mage_Bundle labels Apr 21, 2025
@github-actions github-actions bot removed the Component: Eav Relates to Mage_Eav label Apr 21, 2025
@sreichel

This comment was marked as off-topic.

@kiatng
Copy link
Contributor

kiatng commented Apr 23, 2025

If a developer or third party extracts a single source file without also copying the COPYING.txt file, they might not see the copyright information. The risk lies in potential misattribution if files become separated from the central notice.

@sreichel

This comment was marked as off-topic.

@sreichel sreichel closed this Apr 23, 2025
@addison74
Copy link
Contributor

My opinion is that when a developer extracts a file from the OM package, he should be careful about copyright. It is not my responsibility to check whether he respects copyright or not.

@sreichl - please don't close any PR's without waiting for other opinions.

@sreichel

This comment was marked as off-topic.

@sreichel sreichel reopened this May 5, 2025
@sreichel sreichel marked this pull request as draft May 5, 2025 03:55
# Conflicts:
#	app/code/core/Mage/Adminhtml/Block/Widget/Container.php
#	app/code/core/Mage/Eav/Model/Entity/Type.php
#	app/code/core/Mage/Newsletter/Model/Template.php
#	app/code/core/Mage/Sitemap/etc/system.xml
#	app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/radio.phtml
#	app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/select.phtml
#	app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/file.phtml
#	app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml
#	app/design/adminhtml/default/default/template/system/config/tabs.phtml
#	app/design/adminhtml/default/default/template/system/currency/rate/matrix.phtml
#	app/design/frontend/base/default/template/bundle/catalog/product/price.phtml
#	app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/radio.phtml
#	app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
#	app/design/frontend/base/default/template/bundle/rss/catalog/product/price.phtml
#	app/design/frontend/base/default/template/bundle/sales/order/items/renderer.phtml
#	app/design/frontend/base/default/template/bundle/sales/order/shipment/items/renderer.phtml
#	app/design/frontend/base/default/template/catalog/product/view/options/type/file.phtml
#	app/design/frontend/base/default/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml
#	app/design/frontend/base/default/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml
#	app/design/frontend/base/default/template/downloadable/sales/order/items/renderer/downloadable.phtml
#	app/design/frontend/base/default/template/sales/order/creditmemo/items/renderer/default.phtml
#	app/design/frontend/base/default/template/sales/order/invoice/items/renderer/default.phtml
#	app/design/frontend/base/default/template/sales/order/items/renderer/default.phtml
#	app/design/frontend/base/default/template/sales/order/shipment/items/renderer/default.phtml
#	app/design/frontend/base/default/template/shipping/tracking/popup.phtml
#	app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
#	app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml
#	app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml
#	app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml
#	app/design/frontend/rwd/default/template/sales/order/invoice/items/renderer/default.phtml
#	app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml
#	lib/Varien/Db/Adapter/Interface.php
@sreichel sreichel marked this pull request as ready for review May 6, 2025 22:51
@sreichel sreichel requested a review from colinmollenhour May 6, 2025 22:59
colinmollenhour pushed a commit that referenced this pull request May 7, 2025
* tests

* rector

* updated test groups

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* updated tests

* update

* update

* update

* update

* update

* typo

* updated tests

* updated tests

* updated tests

* updated tests

* sonar 1

* sonar 2

* phpcs/phpstan

* sonar 4

* sonar 5

* sonar 6

* phpcs

* copyright, ref #4767

* added Makefile

* merge fix

* reverted all changes to core files

* Revert "reverted all changes to core files"

This reverts commit 63e5f77.
colinmollenhour
colinmollenhour previously approved these changes May 7, 2025
@addison74
Copy link
Contributor

There are some conflicts reported to this PR that need to be resolved.

# Conflicts:
#	tests/unit/Mage/Catalog/Model/Resource/Eav/AttributeTest.php
#	tests/unit/Mage/Customer/Model/CustomerTest.php
#	tests/unit/Mage/Reports/Helper/DataTest.php
#	tests/unit/Mage/Reports/Model/Resource/Report/CollectionTest.php
#	tests/unit/Mage/Rule/Model/AbstractTest.php
#	tests/unit/Mage/Rule/Model/EnvironmentTest.php
#	tests/unit/Mage/Rule/Model/RuleTest.php
#	tests/unit/Traits/DataProvider/Base/BoolTrait.php
#	tests/unit/Traits/DataProvider/Base/IntOrNullTrait.php
#	tests/unit/Traits/DataProvider/Base/ModulesTrait.php
#	tests/unit/Traits/DataProvider/Base/NumericStringTrait.php
#	tests/unit/Traits/DataProvider/Mage/Catalog/CatalogTrait.php
#	tests/unit/Traits/DataProvider/Mage/Catalog/Model/LocaleTrait.php
#	tests/unit/Traits/DataProvider/Mage/Cms/CmsTrait.php
#	tests/unit/Traits/DataProvider/Mage/Core/CoreTrait.php
#	tests/unit/Traits/DataProvider/Mage/Downloadable/DownloadableTrait.php
#	tests/unit/Traits/DataProvider/Mage/Reports/ReportsTrait.php
#	tests/unit/Traits/DataProvider/Mage/Rule/RuleTrait.php
#	tests/unit/Traits/DataProvider/Mage/Uploader/UploaderTrait.php
Copy link

sonarqubecloud bot commented May 7, 2025

@sreichel sreichel requested a review from colinmollenhour May 7, 2025 15:16
@addison74 addison74 requested a review from kiatng May 7, 2025 15:59
@sreichel
Copy link
Contributor Author

sreichel commented May 7, 2025

@addison74 thats why I have closed some PRs. As longer they stay open it becomes more likely to run into merge conflicts.

I had to fix ~40 files yesterday, plus latest conflicts today.

I'll re-open step by step to avoid this.

@sreichel sreichel added this to the 20.14.0 milestone May 8, 2025
@colinmollenhour colinmollenhour merged commit 7d1eff7 into OpenMage:main May 8, 2025
40 of 46 checks passed
@sreichel sreichel deleted the copyright branch May 8, 2025 02:17
@sreichel sreichel added the chore label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Component: Admin Relates to Mage_Admin Component: Adminhtml Relates to Mage_Adminhtml Component: AdminNotification Relates to Mage_AdminNotification Component: Api PageRelates to Mage_Api Component: Api2 Relates to Mage_Api2 Component: Authorizenet Relates to Mage_Authorizenet Component: Bundle Relates to Mage_Bundle Component: Captcha Relates to Mage_Captcha Component: Catalog Relates to Mage_Catalog Component: CatalogIndex Relates to Mage_CatalogIndex Component: CatalogInventory Relates to Mage_CatalogInventory Component: CatalogRule Relates to Mage_CatalogRule Component: CatalogSearch Relates to Mage_CatalogSearch Component: Centinel Relates to Mage_Centinel Component: Checkout Relates to Mage_Checkout Component: Cms Relates to Mage_Cms Component: ConfigurableSwatches Relates to Mage_ConfigurableSwatches Component: Contacts Relates to Mage_Contacts Component: Core Relates to Mage_Core Component: Cron Relates to Mage_Cron Component: CurrencySymbol Relates to Mage_CurrencySymbol Component: Customer Relates to Mage_Customer Component: Dataflow Relates to Mage_Dataflow Component: Directory Relates to Mage_Directory Component: Downloadable Relates to Mage_Downloadable environment Mage.php Relates to app/Mage.php
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants