feature:pull

Introduction

feature:pull runs git pull --ff-only in your editable features, the working copies at the workspace root. Use it to bring every feature you develop up to date in one go. Pinned snapshots in .splent_cache are never touched.

splent feature:pull
Pulling 3 editable feature(s):

  ✔  splent_io/splent_feature_notes  Already up to date.
  ✔  splent_io/splent_feature_reports  Updating a1b2c3d..e4f5a6b
Fast-forward
 src/splent_io/splent_feature_reports/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  ✖  splent_io/splent_feature_tags  not a git repo

2/3 pulled successfully.

Each line shows git’s own output. When any feature fails, the command exits 1.


Pulling one feature

splent feature:pull splent_io/splent_feature_notes

The namespace and the splent_feature_ prefix are optional, so notes works too. Without a namespace, every editable copy with that name is pulled.


When a pull fails

--ff-only never merges. A feature whose local commits diverge from the remote fails, and so does one with uncommitted changes to files the incoming commits touch. Commit, stash or rebase it with feature:git, then pull again.


Reference

Argument Description
FEATURE_REF Optional. Pull only this feature. Without it, every editable feature at the workspace root is pulled

It needs a selected product (SPLENT_APP). Each pull gives up after 30 seconds.


See also


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es