mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
parent
c26d2158a1
commit
3db8c950b8
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
title: Export zip
|
||||
title: Export ZIP
|
||||
category: offline projects
|
||||
order: 20
|
||||
---
|
||||
|
||||
Assuming the offline project has been created:
|
||||
|
||||
a: Download zip file
|
||||
a: Download ZIP file
|
||||
|
||||
b: Unzip file to appropiate folder
|
||||
|
||||
c: Use your favorite git client to add/update the files in the repository
|
||||
|
||||
Do not rename the files or change folder locations of the files. This way an offline and online abapGit project will contain the same files, and both scenarios will work for all users.
|
||||
Do not rename the files or change folder locations of the files. This way an offline and online abapGit project will contain the same files, and both scenarios will work for all users.
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: Import zip
|
||||
title: Import ZIP
|
||||
category: offline projects
|
||||
order: 10
|
||||
---
|
||||
|
||||
## Download zip archive ##
|
||||
An offline project is based on a zip archive that contains all the git files.
|
||||
## Download ZIP File ##
|
||||
An offline project is based on a ZIP file that contains all files of a git repository.
|
||||
|
||||
First, download the latest version of the project you want to import.
|
||||
|
||||
|
@ -14,21 +14,20 @@ First, download the latest version of the project you want to import.
|
|||
2. Select **Code** > **Download ZIP**
|
||||
3. Save file
|
||||
|
||||
## Import zip archive ##
|
||||
1. Connect to SAP in language **EN**
|
||||
## Import ZIP File ##
|
||||
1. Connect to SAP in language English (**EN**)
|
||||
2. Run abapGit:
|
||||
* If you have installed the standalone version : in transaction `SE38`, run the program you created (`ZABAPGIT_STANDALONE` or `ZABAPGIT_FULL` or other)
|
||||
* If you have installed the developer version : run transaction `ZABAPGIT`
|
||||
* If you have installed the standalone version: in transaction `SE38`, run the program you created (`ZABAPGIT_STANDALONE` or `ZABAPGIT_FULL` or other)
|
||||
* If you have installed the developer version: run transaction `ZABAPGIT`
|
||||
3. Select **New Offline**
|
||||
4. Enter the project name and select an existing package or create a new package
|
||||
5. Select **Import <sup>zip</sup>**
|
||||
6. Select the zip archive file (eg. *abapGit-master.zip*)
|
||||
6. Select the ZIP file (eg. *abapGit-master.zip*)
|
||||
7. Select **Pull <sup>zip</sup>**
|
||||
8. Activate
|
||||
|
||||
## Hints ##
|
||||
abapGit can only import files with [`LF`](https://en.wikipedia.org/wiki/Newline) as line-terminator.
|
||||
If you clone a project on windows with git cli to pack into a zip-archive later on, configure git not replace `LF` by `CRLF`:
|
||||
If you clone a project on windows with git cli to pack into a ZIP file later on, configure git not replace `LF` by `CRLF`:
|
||||
```
|
||||
git config [--global, --local, --system] core.autocrlf false
|
||||
```
|
||||
|
|
|
@ -19,7 +19,7 @@ If your system is connected to the Internet, create an online repository for you
|
|||
|
||||
### Offline project
|
||||
|
||||
If your system is not connected to the Internet, create an offline repository. To update abapGit download the zip file from [https://github.com/abapGit/abapGit/archive/master.zip](https://github.com/abapGit/abapGit/archive/master.zip), and select "Import Zip" in your abapGit repository.
|
||||
If your system is not connected to the Internet, create an offline repository. To update abapGit download the ZIP file from [https://github.com/abapGit/abapGit/archive/master.zip](https://github.com/abapGit/abapGit/archive/master.zip), and select "Import ZIP" in your abapGit repository.
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
|
@ -27,6 +27,6 @@ Updates to abapGit can on occasion be quite significant and cause issues like in
|
|||
1. Install and activate the latest standalone version (see above).
|
||||
2. Run the standalone version to update the abapGit developer version.
|
||||
3. If the update does not complete, delete any inactive objects or objects with diffs completely (like inactive classes in SE24).
|
||||
4. Restart the standalone version and perform a new "Pull" or "Import Zip".
|
||||
4. Restart the standalone version and perform a new "Pull" or "Import ZIP".
|
||||
5. If this does not resolve the problem, open an issue on [GitHub](https://github.com/abapGit/abapGit/issues).
|
||||
|
||||
|
|
|
@ -194,10 +194,10 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
|
|||
iv_txt = 'Database Utility'
|
||||
iv_act = zif_abapgit_definitions=>c_action-go_db
|
||||
)->add(
|
||||
iv_txt = 'Package to Zip'
|
||||
iv_txt = 'Package to ZIP'
|
||||
iv_act = zif_abapgit_definitions=>c_action-zip_package
|
||||
)->add(
|
||||
iv_txt = 'Transport to Zip'
|
||||
iv_txt = 'Transport to ZIP'
|
||||
iv_act = zif_abapgit_definitions=>c_action-zip_transport
|
||||
)->add(
|
||||
iv_txt = 'Object to Files'
|
||||
|
|
|
@ -101,7 +101,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_TUTORIAL IMPLEMENTATION.
|
|||
ri_html->add( ' from the top menu.' ).
|
||||
ri_html->add( '<li>abapGit will start tracking changes for the package ' ).
|
||||
ri_html->add( 'without linking it to an online git repository.</li>' ).
|
||||
ri_html->add( '<li>You can link the package later or just export the package content as a zip file.</li>' ).
|
||||
ri_html->add( '<li>You can link the package later or just export the package content as a ZIP file.</li>' ).
|
||||
|
||||
ri_html->add( '</ul></p>' ).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user