Skip to content

Releases: GEOS-ESM/mepo

Add per-repo diff

26 Aug 19:21
b09c523
Compare
Choose a tag to compare

DOI

This release adds a per-repo diff capability a la:

$ mepo diff <repo>

Before it was only all repos.

Add tag commands and per-component branch list

19 Aug 20:41
64fda06
Compare
Choose a tag to compare

DOI

This release of mepo adds a mepo tag command (with subcommands) as well as an update to mepo branch list.

mepo tag adds these subcommands:

  • mepo tag list ==> git tag
    • This can be run on all repos or mepo tag <repo> for a specifig
  • mepo tag create ==> git tag but actually making a tag (with -a as option)
    • This has both a -a and -m option for annotated tags. If -a is added without -m this will popup an editor
  • mepo tag delete ==> git tag -d
    • This only deletes locally not on the remote

A new mepo push --tags was added to push tags.

Also added was the ability to do mepo branch list <repo> to list branches only on one (or more) repos.

Finally, a .zenodo.json file was added.

Add restore-state

18 Aug 15:33
b4561be
Compare
Choose a tag to compare

DOI

This release adds a mepo restore-state command

With this command, you should be able to restore a checkout to what the original state was. This was a request/idea inspired by @yvikhlya:

❯ mepo compare
Repo       | Original             | Current
---------- | -------------------- | -------
ESMA_env   | (t) v2.1.6 (DH)      | (b) feature/mathomp4/intel1912
ESMA_cmake | (t) v3.1.2 (DH)      | (t) v3.1.2 (DH)
ecbuild    | (t) geos/v1.0.5 (DH) | (t) geos/v1.0.5 (DH)

❯ mepo restore-state
Checking status...
Reverting ESMA_env to v2.1.6

❯ mepo compare
Repo       | Original             | Current
---------- | -------------------- | -------
ESMA_env   | (t) v2.1.6 (DH)      | (t) v2.1.6 (DH)
ESMA_cmake | (t) v3.1.2 (DH)      | (t) v3.1.2 (DH)
ecbuild    | (t) geos/v1.0.5 (DH) | (t) geos/v1.0.5 (DH)

Note: at present this will restore EVERYTHING to the previous state. Not a repo here or there.

Add pull, pull-all, and fetch-all commands

17 Jul 15:59
8280b49
Compare
Choose a tag to compare

DOI

This release adds:

  • mepo pull
  • mepo pull-all
  • mepo fetch-all

Note that since you can't git pull on a detached HEAD state, the pull-all will only pull on real branches. The others will spit out as a print:

❯ mepo pull-all
Pulling branch throw-away in ESMA_env
The following repos were not pulled (detached HEAD): ESMA_cmake, ecbuild

Also fixes the mepo file as, on Darwin, things went kablooey recently with Python 3.8

Updates to clone command

14 Jul 18:30
a93b61e
Compare
Choose a tag to compare

DOI

With this release, mepo clone is extended to allow:

mepo clone -b tag URL

which is like:

git clone URL
cd 
git checkout tag
mepo init && mepo clone

Also added ability to do:

mepo clone URL directory

and even:

mepo clone -b tag URL directory

Fix for mepo push

08 Jul 16:39
95a054e
Compare
Choose a tag to compare

DOI

In adding functionality to support relative URLs for mepo save, mepo push was accidentally broken. This release fixes that.

Add mepo stash

23 Jun 20:53
bb55df0
Compare
Choose a tag to compare

DOI

This release will adds five subcommands under mepo stash:

  • push <repo>
  • list
  • apply <repo>
  • pop <repo>
  • show <repo>

It's not perfect as you can't pass in a stash reference say, but it's a first start.

Clone and Fetch Updates

15 Jun 20:05
088a03c
Compare
Choose a tag to compare

This version of mepo adds and changes the following.

Adds

  • mepo fetch can now use --tags and --prune
  • mepo clone can now run mepo init for you if not done explicitly
  • mepo clone URL will do a git clone URL/cd/mepo init/mepo clone all in one shot
  • Better handling of hashes. components.yaml will now accept hash: a la tag: and branch:

Changes

  • mepo init and mepo clone have a slightly different interface if using a different yaml file. Since the ability of clone to use a URL, to pass a different yaml file, needs to be done with a flagged option: --config yamlfile

Fixes

  • mepo status won't crash if a repo is not on a tag or branch

Updates to CI and Unit Tests

10 Jun 20:20
19a8df2
Compare
Choose a tag to compare
  • Update the CI to use a matrix on Linux and macOS of python3.x and pypy3
  • Fix the unit tests

Add License

28 May 16:04
0594eb1
Compare
Choose a tag to compare

LICENSE.md was added.