winery

No support for local git source clones

A user wants to edit source files locally in his favourite IDE. Therefore, he wants to use the usual ways to retrieve source files. Typically, this is a git clone from a git repository having the respective source files.

A user does not want to clone the whole winery repository, as this might a) be too large b) not focused enough. It would be beneficial to have the source of an artifact template available as git checkout.

The source files of an artifact implementation are currently directly editable in the winery once they are uploaded. The only way to edit sources locally is to download and upload them again. The solution for the user should be:

Considered Alternatives

Decision Outcome

Since all alternatives require either too many additional git repositories or are very inconvenient to apply for the user, we decided to not support any clone/push functionality.

Pros and Cons of the Alternatives

No support for local edit

Git repositories as submodules

Using filter-branch on sever’s side

Using filter-branch on user’s side

git sparse checkout

License

Copyright (c) 2017 Contributors to the Eclipse Foundation

See the NOTICE file(s) distributed with this work for additional information regarding copyright ownership.

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0, or the Apache Software License 2.0 which is available at https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: EPL-2.0 OR Apache-2.0