Skip to main content

Utility for packing code to mobile storage

Project description

This utility is written for easing moving source code between separated network with mobile storage.

Here are the steps: (sample of .codepackager.yaml can be found in this project)

1. Put .codepackager.yaml into your home folder and configurate it with your setting.
The following directive can be ignored in this configuration file:
* "package-name" and
* "vcs"
This would be your local setting. You will need local setting in remote machine, too.

2. Put .codepackager.yaml into the root folder (where .hg or .git resides) of your repository.
Only "package-name" is required. This setting ("package-name") will use as packaged file name.
You can include other directives to customize for certain project if you really need it.
This would be your project/repository setting.

3. Add and commit the .codepackager.yaml in your repository.

4. Run "prep_codepkg.py" in root folder of repository to package the repository (and make backup).

5. Move mobile storage to remote machine.
Run "recv_codepkg.py /PATH/TO/PACKAGED_FILE" in repository folder of remote machine.
This step should bring configuration file to remote machine.

6. From now on, you can use "recv_codepkg.py" (without path of packaged file) to pull updates from mobile storage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codepackager-1.02.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file codepackager-1.02.tar.gz.

File metadata

File hashes

Hashes for codepackager-1.02.tar.gz
Algorithm Hash digest
SHA256 246b00cefec73aabc4daf1080c879503f57b017933df84680f151667d6e41f3e
MD5 975d2659ad35296fda6a332f2d4496d2
BLAKE2b-256 fd2e46813732ad891ab06868c47bc1558fdad77e0fe96dd3e61becb9953090ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page