Discussion:
tmux-ut: A tmux runtime unit-test suite
Thomas Adam
2015-01-08 23:51:39 UTC
Permalink
Hi all,

I've put together something I'm calling 'tmux-ut', it's a repository
which will hopefully form a set of tests to run against tmux, ensuring
that tmux remains stable as we develop more features, fix bugs, etc.

This isn't officially part of tmux, but it's the sort of things some of
you here may well want to help with, especially if you're not a
programmer, but feel as though you can script tmux enough to make the
tests useful; I encourage you to have a look.

I've started off with a couple of tests--take a look here:

https://github.com/ThomasAdam/tmux-ut

It's under the ISC license. Patches welcome!

-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Helmut K. C. Tessarek
2015-01-09 01:13:40 UTC
Permalink
Post by Thomas Adam
https://github.com/ThomasAdam/tmux-ut
Have you ever thought of moving the sf repo to github?

With sourceforge it is impossible to download the latest git snapshot without
web interaction. The snapshot is only created _after_ clicking the 'Download
snapshot' link. On github a
https://github.com/<user>/<repo>/archive/master.zip will always give you the
latest snapshot.
(This functionality is needed for homebrew/MacPorts or any other port system,
if you wanted to create a port that compiles the most recent commit point.)

On github you could also integrate the tests with Travis-CI.

Cheers,
K. C.
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
Anish R Athalye
2015-01-09 02:39:44 UTC
Permalink
Homebrew has no issue with installing the latest commit. `brew install --HEAD tmux` suffices; it pulls from the SourceForge repository. See https://github.com/Homebrew/homebrew/blob/master/Library/Formula/tmux.rb for more details.

There is a (semi-official) GitHub mirror as well: https://github.com/ThomasAdam/tmux.


That being said, I would be happy if official development moved to GitHub. ItÂ’s much nicer to interact with GH than SF.


On Jan 8, 2015, at 8:13 PM, Helmut K. C. Tessarek <***@evermeet.cx<mailto:***@evermeet.cx>> wrote:

On 08.01.15 18:51 , Thomas Adam wrote:
https://github.com/ThomasAdam/tmux-ut

Have you ever thought of moving the sf repo to github?

With sourceforge it is impossible to download the latest git snapshot without
web interaction. The snapshot is only created _after_ clicking the 'Download
snapshot' link. On github a
https://github.com/<user>/<repo>/archive/master.zip will always give you the
latest snapshot.
(This functionality is needed for homebrew/MacPorts or any other port system,
if you wanted to create a port that compiles the most recent commit point.)

On github you could also integrate the tests with Travis-CI.

Cheers,
K. C.

--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
Helmut K. C. Tessarek
2015-01-09 03:18:19 UTC
Permalink
Post by Anish R Athalye
Homebrew has no issue with installing the latest commit. `brew install --HEAD
tmux` suffices; it pulls from the SourceForge repository.
See https://github.com/Homebrew/homebrew/blob/master/Library/Formula/tmux.rb for
more details.
Apparently Homebrew is better in dealing with this. But according to the
script, most likely 'git clone' is used in the background. I don't want a git
dependency for this (takes too long to explain here).
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
Thomas Adam
2015-01-09 10:07:27 UTC
Permalink
Post by Anish R Athalye
There is a (semi-official) GitHub mirror as well: https://github.com/ThomasAdam/tmux.
Semi-official is misleading. It's always kept up to date with SF, because
I'm the one who helps maintain the SF one. You can use either, and having the
redundancy on Github as a mirror of the SF one is a good thing.

-- Thomas Adam
Nicholas Marriott
2015-01-09 08:27:56 UTC
Permalink
github does not offer mailing lists
Post by Helmut K. C. Tessarek
Post by Thomas Adam
https://github.com/ThomasAdam/tmux-ut
Have you ever thought of moving the sf repo to github?
With sourceforge it is impossible to download the latest git snapshot without
web interaction. The snapshot is only created _after_ clicking the 'Download
snapshot' link. On github a
https://github.com/<user>/<repo>/archive/master.zip will always give you the
latest snapshot.
(This functionality is needed for homebrew/MacPorts or any other port system,
if you wanted to create a port that compiles the most recent commit point.)
On github you could also integrate the tests with Travis-CI.
Cheers,
K. C.
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D
/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Helmut K. C. Tessarek
2015-01-10 00:19:12 UTC
Permalink
Post by Nicholas Marriott
github does not offer mailing lists
I was talking about the main repository, not the mailing list.
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
Thomas Adam
2015-01-09 10:14:01 UTC
Permalink
Post by Helmut K. C. Tessarek
Post by Thomas Adam
https://github.com/ThomasAdam/tmux-ut
Have you ever thought of moving the sf repo to github?
There's already a repo there if you want to use that.
Post by Helmut K. C. Tessarek
On github you could also integrate the tests with Travis-CI.
Which I do for other projects, but it's not useful for tmux, because we're
not continually pushing there. Before I push out things to master, I
compile things locally, which is a lot easier to do, rather than waiting
around for an environment to spin-up which I already have available.

Thank you for conflating a number of unrelated points in this email thread.

-- Thomas Adam
Helmut K. C. Tessarek
2015-01-10 00:26:59 UTC
Permalink
Post by Thomas Adam
There's already a repo there if you want to use that.
It s not the main repo, is it? It is also not a mirror, with automatic pushes
to it when the sf repo is updated.
Post by Thomas Adam
Which I do for other projects, but it's not useful for tmux, because we're
not continually pushing there.
That was my point. But you probably would, if it was the main repo.
There's a difference between local testing and testing for every push.
It's also nice to see pull requests tested.
Post by Thomas Adam
Thank you for conflating a number of unrelated points in this email thread.
I don't think that the ability to download the current master via wget is
unrelated to the move to github. github allows that, sf doesn't.
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
Thomas Adam
2015-01-10 01:47:06 UTC
Permalink
Post by Helmut K. C. Tessarek
Post by Thomas Adam
There's already a repo there if you want to use that.
It s not the main repo, is it? It is also not a mirror, with automatic pushes
to it when the sf repo is updated.
When master is updated by me, I also push to Github at the same time.
That's as automatic as it needs to be.

The rest of this conversation is not helpful; you already seem to have
a solution to your immediate concern, so I'm ducking out of this.

-- Thomas Adam
jungle Boogie
2015-01-10 01:45:13 UTC
Permalink
Hi Helmut,
Post by Helmut K. C. Tessarek
Post by Thomas Adam
https://github.com/ThomasAdam/tmux-ut
Have you ever thought of moving the sf repo to github?
With sourceforge it is impossible to download the latest git snapshot without
web interaction. The snapshot is only created _after_ clicking the 'Download
snapshot' link. On github a
https://github.com/<user>/<repo>/archive/master.zip will always give you the
latest snapshot.
(This functionality is needed for homebrew/MacPorts or any other port system,
if you wanted to create a port that compiles the most recent commit point.)
On github you could also integrate the tests with Travis-CI.
I'd recommend http://fossil-scm.org/

You don't need to visit a webpage to download any file, just clone the
repo and then fossil update to get the latest from trunk.

It's like github but it's: BSD licensed, sqlite based, fast, only a
single file to run, and has it's own web UI.
Post by Helmut K. C. Tessarek
Cheers,
K. C.
--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D
/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/
--
-------
inum: 883510009027723
sip: ***@sip2sip.info
xmpp: jungle-***@jit.si
Helmut K. C. Tessarek
2015-01-10 02:07:07 UTC
Permalink
Can we stop with these rather silly suggestions for other software we
don't need?
Apparently nobody understands that I am the maintainer for the tmux Portfile
in MacPorts and that I want to allow people to install the latest version from
git via MacPorts.

Right now this is NOT possible.

If you find a discussion to achieve this silly, then I guess you don't give a
shit about people using tmux. Good to know.
Thomas Adam
2015-01-10 02:36:40 UTC
Permalink
Post by Helmut K. C. Tessarek
Can we stop with these rather silly suggestions for other software we
don't need?
Apparently nobody understands that I am the maintainer for the tmux Portfile
in MacPorts and that I want to allow people to install the latest version from
git via MacPorts.
Well, the 'download snapshots' feature of SF is short-lived anyway. Why
can you not use git, which is what I'd recommend doing.

-- Thomas Adam
--
"Deep in my heart I wish I was wrong. But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Loading...