Skip to main content

island generic source manager (like repo in simple mode)

Project description

Lutin

island is a generic source downloader and synchronizer is a FREE software tool.

It is compatible with basic format of repo-git manifest. This project is created to be easiest to read with simple interface (no internal git usage, but user level git usage) The main point to create the "fork" is the non-support of repo of relativity in submodule of git (submodule reference with ../xxx.git) This point is really important when you want to have a relocate manifest and project with submodule. The simpl example is the atria-soft / generic-library / musicdsp that are available on github, gitlab, bitbucket and personal server.

https://badge.fury.io/py/island.png)

Instructions

This is a tool to download git source repositiry in a versatile worktree

island is under a FREE license that can be found in the LICENSE file. Any contribution is more than welcome ;)

git repository

http://github.com/HeeroYui/island/

Documentation

http://HeeroYui.github.io/island/

Installation

Requirements: Python >= 2.7 and pip

Just run:

pip install island

Install pip on debian/ubuntu:

sudo apt-get install pip

Install pip on ARCH-linux:

sudo pacman -S pip

Install pip on MacOs:

sudo easy_install pip

Usage

Select a manifest:

island init http://github.com/atria-soft/manifest.git

Download and synchronize the sources:

island sync

Select all branch available in the work-tree: (checkout origin/dev in dev branch and track it, do nothing if the branch does not exist)

island checkout dev

Show the status of the workspace

island status

Develop in local (with virtual env):

see: https://setuptools.pypa.io/en/latest/userguide/development_mode.html

Create your development environment:

# Create a virtual environment
python -m venv .venv
# Activate the python virtual environment
source .venv/bin/activate
# Install the package in editable mode (dynamic use of files) 
pip install --editable .

Run the application . island --help

Manual set in production:

install generic tools for deployment

pip3 install twine

Create the new version:

# Clean previous packages
 \rm -rf dist/
# Compile the package
python3 -m build
# Upload the package
python3 -m twine upload dist/*

TODO list

  • When sync checkout the new manifest
  • status: show how many time late we are on the branch
  • sync: filter the apply of this cmd
  • create snapshot
  • use a snapshot
  • commit all change in a single commit name and date
  • push all change in the origin branch
  • stash/unstash all change
  • permit to set the pasword when requested by git
  • sync: show download progress
  • support single project mirror
  • support submodule mirror
  • support project upstream
  • support submodule add upstream
  • push modilfication in all late mirorr (force mode optionnal) ==> for automatic server synchronisation in 4 lines
  • a good documation of the format and the usage
  • parallele download / sync / push ...

License (MPL v2.0)

Copyright island Edouard DUPIN

Licensed under the Mozilla Public License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.mozilla.org/MPL/2.0/

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

island-1.3.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

island-1.3.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file island-1.3.0.tar.gz.

File metadata

  • Download URL: island-1.3.0.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.7

File hashes

Hashes for island-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0d0fa4ae68d9f28022fc028cfb6f61aa66d9898f042e20c5709db192d68deefe
MD5 9bb01005c574e667319721292920855c
BLAKE2b-256 b4fa4edfd5218c9742e44e85d5c157bd140a881a1437bdadd287844856aecd0f

See more details on using hashes here.

File details

Details for the file island-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: island-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.7

File hashes

Hashes for island-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c8a92bc9949fab87cc8afec2ee36d07bfee53b8d195b18be859c9e9dbcd7768
MD5 ca954f9ba096e9634586234ee141bad3
BLAKE2b-256 567e238ae229ae08e7bf8f4ff15c4e2d70635b31b57a58af0132e1c2d949bd0f

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