#493 tei-install.sh should be split into three

AMBER
closed
None
5(default)
2014-05-20
2014-01-24
No

Peter Stadler, the release technician for 2.6.0, suggests (in view of the problems and need for a temporary rollback during that process) that we split tei-install.sh into three stages, as follows:

  • upload2tei-c
  • make-current
  • upload2sf

After the first, both the Vault view of the new release and Roma should be tested; after the second, you would test that the default Glines is now the new release; and then you would go ahead and upload the distribution package to SF. I think this is a good idea.

Discussion

  • Sebastian Rahtz

    Sebastian Rahtz - 2014-02-13

    The script could also be rewritten as a Makefile, with 3 different targets,
    or have more options to control which bits get run (--upload2tei, --upload2sf, --makecurrent or whatever). If anyone has an hour or two to spare, its very very simple
    scripting.

     
  • Martin Holmes

    Martin Holmes - 2014-02-13

    I must admit I don't love the idea of the extra layer introduced by a Makefile, especially if everything you're doing is straightforward shell commands anyway. I always get turned around trying to deal with the differences between what you can do in bash and what you can do in a Makefile. Isn't it easier just to divide the current script into three?

     
  • James Cummings

    James Cummings - 2014-05-19
    • assigned_to: Sebastian Rahtz
     
  • James Cummings

    James Cummings - 2014-05-19

    Assigning to Sebastian Rahtz to triage and report to council, implement, etc.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2014-05-19

    the script only does two things: a) install locally, in the Vault, and linking that to current; and b) upload to Sourceforge.

    I have added options --upload and --install which do just b) and a) respectively. the default is to do both

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2014-05-19
    • status: open --> closed
     
  • Sebastian Rahtz

    Sebastian Rahtz - 2014-05-19

    ah, added third option --makecurrent, separately from install

     
  • James Cummings

    James Cummings - 2014-05-20

    Update TCW 22 to reflect this?

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2014-05-20

    yes please, can you do that?

     
  • James Cummings

    James Cummings - 2014-05-20

    Done, feel free to revise if I've made any mistakes.