Task #65570

Reduce Github release archive size

Added by Mathias Brodala almost 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
-
Start date:
2015-03-06
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Release archives automatically generated by Github ATM contain the full source.

Using .gitattributes some files/directories (like tests) could be excluded which are not required in production.

One can still retrieve the full source via Git/Composer[--prefer-source].


Related issues

Related to TYPO3 Core - Bug #68998: File names of functional tests are too long when installing via composer on windows Closed 2015-08-12

Associated revisions

Revision 281d4810 (diff)
Added by Mathias Brodala over 3 years ago

[TASK] Exclude non-production files from Git archives

This excludes various directories and files from release
archives as generated by Github and fetched via Composer.

These files and directories are not relevant for production
and excluding them reduces the size of release archives.

Such files are usually identified as security risk in security
reviews and should therefore be removed by default from production systems.

As an addition it also avoids issues with long file paths when installing
on Windows systems.

Resolves: #65570
Resolves: #68998
Resolves: #70810
Releases: 7.6, master
Change-Id: I615e0c7a4cafaea471c79e88e9df2c78c55b92ac
Reviewed-on: https://review.typo3.org/46357
Reviewed-by: Wouter Wolters <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

Revision 4c46b1b7 (diff)
Added by Mathias Brodala over 3 years ago

[TASK] Exclude non-production files from Git archives

This excludes various directories and files from release
archives as generated by Github and fetched via Composer.

These files and directories are not relevant for production
and excluding them reduces the size of release archives.

Such files are usually identified as security risk in security
reviews and should therefore be removed by default from production systems.

As an addition it also avoids issues with long file paths when installing
on Windows systems.

Resolves: #65570
Resolves: #68998
Resolves: #70810
Releases: 7.6, master
Change-Id: I615e0c7a4cafaea471c79e88e9df2c78c55b92ac
Reviewed-on: https://review.typo3.org/48429
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

Revision 3e2a399d (diff)
Added by Georg Ringer over 3 years ago

[FOLLOWUP][TASK] Exclude non-production files from Git archives

Use sources instead of distributions.

Resolves: #65570
Resolves: #68998
Resolves: #70810
Releases: master
Change-Id: I638534c808e8ddb9cc9da15f7bcd538c64434476
Reviewed-on: https://review.typo3.org/48432
Reviewed-by: Wouter Wolters <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 1baca110 (diff)
Added by Nicole Cordes over 3 years ago

[FOLLOWUP][TASK] Exclude non-production files from Git archives

Disable Github API usage to receive the TYPO3 sources.

Resolves: #65570
Resolves: #68998
Resolves: #70810
Releases: master
Change-Id: Ic5ee615c933e397afc54d7aa8cb06b8656f2f33d
Reviewed-on: https://review.typo3.org/48436
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>

History

#1 Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37597

#2 Updated by Mathias Brodala almost 5 years ago

Git archive size at d7e89ba: 22.4 MB
After applying this change: 20.6 MB

Better than nothing. :-)

#3 Updated by Christian Kuhn almost 5 years ago

  • Status changed from Under Review to Rejected

This was rejected for now.

#4 Updated by Mathias Brodala almost 4 years ago

  • Status changed from Rejected to New

Reopening for new discussion. This would also fix issues like #68998.

#5 Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#6 Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#7 Updated by Gerrit Code Review almost 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#8 Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#9 Updated by Gerrit Code Review almost 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#10 Updated by Gerrit Code Review almost 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#11 Updated by Helmut Hummel over 3 years ago

  • TYPO3 Version changed from 7 to 6.2

In fact the presence of test files/ example code is considered a (low) security risk

#12 Updated by Gerrit Code Review over 3 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#13 Updated by Gerrit Code Review over 3 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#14 Updated by Gerrit Code Review over 3 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46357

#15 Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48429

#16 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48429

#17 Updated by Mathias Brodala over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100

#18 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Resolved to Under Review

Patch set 3 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48429

#19 Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48429

#20 Updated by Mathias Brodala over 3 years ago

  • Status changed from Under Review to Resolved

#21 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48432

#22 Updated by Georg Ringer over 3 years ago

  • Status changed from Under Review to Resolved

#23 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48436

#24 Updated by Nicole Cordes over 3 years ago

  • Status changed from Under Review to Resolved

#25 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF