Snapshot: Customize filename and remove obligatory folder

Alexander Nitsche - e-pixler NEW MEDIA GmbH alexander.nitsche at e-pixler.de
Mon Nov 9 13:11:51 CET 2015


It would be nice to be able to

a) customize the automatically generated snapshot filename. In general
it is {repository_name}-{branch}.zip. I - for integrity reasons - need
to be able to say that the filename should be {filename_xy}.zip without
the branch and a different name than the repo name. In my particular
case this is for constraints of the CMS system Typo3.

b) remove the obligatory parent folder from the snapshot: e.g. if the
tree structure of the git project "my_typo3_extension" is
---
/classes/
/resources/
/configuration/
ext_emconf.php
ext_tables.php
..
---
then the snapshot zip file looks like
---
/my_typo3_extension
  /classes/
  /resources/
  /configuration/
  ext_emconf.php
  ext_tables.php
  ..
---
but i need the snapshot to be without the parent folder
"my_typo3_extension" - for Typo3 constraints again.

Is there currently a way to do these customizations in cgit?

Thanks,
Alex
-------------- next part --------------


**************************************************
Die e-pixler academy ist eröffnet.
Wissen aus der Praxis aufbereitet für die Praxis. Das ist unser Konzept.
Mehr erfahren und anmelden unter academy.e-pixler.de!
**************************************************


... Alexander Nitsche
     Webentwicklung / Programmierung

......................................................

e-pixler NEW MEDIA GmbH

... Eldenaer Straße 35 Haus I
     10247 Berlin


... Telefon: +49 30 220 563 040
     Fax: +49 30 220 563 019

... Internet: www.e-pixler.de
     E-Mail: alexander.nitsche at e-pixler.de

... Geschäftsführer: Roman Rammelt, Stefan Otto
     Sitz der Gesellschaft: Berlin
     Amtsgericht Charlottenburg: HRB 135719 B
     UST-ID: DE278580804

......................................................


Unsere E-Mails sind mit OpenPGP verschlüsselt bzw. signiert.
Falls Sie diese Technik noch nicht nutzen, sehen Sie am unteren
Mailrand einen etwas kryptisch wirkenden Textblock.

......................................................



More information about the CGit mailing list