summaryrefslogtreecommitdiff
path: root/Build/Configure.hs
Commit message (Collapse)AuthorAge
* Do not preserve permissions and acls when copying files from one local git ↵Gravatar Joey Hess2014-08-26
| | | | | | | | | | | | | | | | | repository to another. Timestamps are still preserved as long as cp --preserve=timestamps is supported. This avoids cp -a overriding the default mode acls that the user might have set in a git repository. With GNU cp, this behavior change should not be a breaking change, because git-anex also uses rsync sometimes in the same situation, and has only ever preserved timestamps when using rsync. Systems without GNU cp will no longer use cp -a, but instead just cp. So, timestamps will no longer be preserved. Preserving timestamps when copying between repos is not guaranteed anyway. Closes: #729757
* indentationGravatar Joey Hess2014-07-13
|
* add Build/BuildVersion, for use by autobuildersGravatar Joey Hess2014-06-18
|
* Revert "add debugging for odd OOM or hang on 5 architectures, all where ↵Gravatar Joey Hess2014-04-22
| | | | | | | | configure runs sha224sum" This reverts commit dbc01939f3da3653df51f1fe8b2d5da891ea8828. The OOM was cabal's way of telling us it couldn't resolve dependencies.
* add debugging for odd OOM or hang on 5 architectures, all where configure ↵Gravatar Joey Hess2014-04-20
| | | | runs sha224sum
* make configure -Wall cleanGravatar Joey Hess2014-03-10
|
* Probe for quvi version at run time.Gravatar Joey Hess2014-02-28
| | | | | Overhead: git annex addurl runs quvi --version once. And more bloat to Annex state..
* Refuse to build with git older than 1.7.1.1, which is needed for git checkout -BGravatar Joey Hess2014-01-13
|
* add back sha commands on OSX; SIGILL problem fixedGravatar Joey Hess2014-01-06
|
* OSX: Avoid using external hash programs, since SIGILL is not funGravatar Joey Hess2014-01-01
|
* test for nocache at configure timeGravatar Joey Hess2013-12-01
|
* Added support for quvi 0.9. Slightly suboptimal due to limitations in its ↵Gravatar Joey Hess2013-11-24
| | | | interface compared with the old version.
* no-op change to ensure configure is re-run on autobuilders to pick up ↵Gravatar Joey Hess2013-11-22
| | | | UPGRADE_LOCATION
* upgrade alertsGravatar Joey Hess2013-11-21
| | | | | | | | | | | | | | | | | | The webapp will check twice a day, when the network is connected, to see if it can download a distributon upgrade file. If a newer version is found, display an upgrade alert. This will need the autobuilders to set UPGRADE_LOCATION to the url it can be downloaded from when building git-annex. Only builds with that set need automatic upgrade alerts. Currently, the upgrade page just requests the user manually download and upgrade it. But, all the info is provided to do automated upgrades in the future. Note that urls used will need to all be https. This commit was sponsored by Dirk Kraft.
* avoid using "gcrypt" for git-remote-gcrypt; there's also a library by that nameGravatar Joey Hess2013-10-21
|
* cronner builds, should work (untested)Gravatar Joey Hess2013-10-08
| | | | | | | I probably need to improve handling of the PleaseTerminate exception to kill the fsck process. Also, if fsck finds bad files, something needs to requeue downloads of them. Otherwise, this should work, but is probably quite buggy since I have only tested the pure code over the past 2 days.
* factor out Build.VersionGravatar Joey Hess2013-10-06
|
* add git-remote-gcrypt to bundle when availableGravatar Joey Hess2013-09-13
|
* Youtube support! (And 53 other video hosts)Gravatar Joey Hess2013-08-22
| | | | | | | | | | When quvi is installed, git-annex addurl automatically uses it to detect when an page is a video, and downloads the video file. web special remote: Also support using quvi, for getting files, or checking if files exist in the web. This commit was sponsored by Mark Hepburn. Thanks!
* better git version checkingGravatar Joey Hess2013-08-02
|
* check in configure if ionice -c3 worksGravatar Joey Hess2013-06-21
| | | | On old systems, it may need to be run as root.
* assistant --autostart: Automatically ionices the daemons it starts.Gravatar Joey Hess2013-06-21
|
* Allow building with gpg2.Gravatar Joey Hess2013-05-19
|
* Sanitize debian changelog version before putting it into cabal file. Closes: ↵Gravatar Joey Hess2013-05-17
| | | | #708619
* Merge branch 'master' into windowsGravatar Joey Hess2013-05-14
|\ | | | | | | | | | | | | | | Conflicts: Annex/Environment.hs Build/Configure.hs Git/Construct.hs Utility/FileMode.hs
* | fix permission damage (thanks, Windows)Gravatar Joey Hess2013-05-11
| |
| * rename varGravatar Joey Hess2013-05-10
| |
| * only update version in cabal file on release buildsGravatar Joey Hess2013-05-10
| | | | | | | | | | This was being very annoying in windows. (cherry picked from commit ccce4b0ded18c6eecea5d666f38f55a4fc6a1977)
* | only update version in cabal file on release buildsGravatar Joey Hess2013-05-10
| | | | | | | | This was being very annoying in windows.
* | fix changelog version parse to work on windowsGravatar Joey Hess2013-05-10
|/ | | | | The CHANGELOG file, as a symlink, cannot be read on windows. So read debian/changelog. Also, newline compat.
* configure: Better checking that sha commands output in the desired format.Gravatar Joey Hess2013-05-08
| | | | | | Run the same code git-annex used to get the sha, including its sanity checking. Much better than old grep. Should detect FreeBSD systems with sha commands that output in stange format.
* cabal does not like ~ in version numbers, work around (for backports)Gravatar Joey Hess2013-05-04
|
* argleGravatar Joey Hess2013-04-17
|
* remove module definitions for these standalone programsGravatar Joey Hess2013-04-17
| | | | | Sometimes ghc --make skips building these binaries, as it sees no Main module.
* The version number is now derived from git, unless built with ↵Gravatar Joey Hess2013-04-10
| | | | VERSION_FROM_CHANGELOG.
* Android: Support ssh connection caching.Gravatar Joey Hess2013-02-19
|
* configure: hardcode some things that cannot be probed for when ↵Gravatar Joey Hess2013-02-11
| | | | cross-compiling for Android
* Now uses the Haskell uuid library, rather than needing a uuid program.Gravatar Joey Hess2013-02-10
| | | | | | | | Been meaning to do this for some time; Android port was last straw. Note that newer versions of the uuid library have a Data.UUID.V4 that generates random UUIDs slightly more cleanly, but Debian has an old version of the library, so I do it slightly round-about.
* move thirdparty program installation for standalone bundle into haskell programGravatar Joey Hess2012-12-14
| | | | | | | | | This allows it to use Build.SysConfig to always install the programs configure detected. Amoung other fixes, this ensures the right uuid generator and checksum programs are installed. I also cleaned up the handling of lsof's path; configure now checks for it in PATH, but falls back to looking for it in sbin directories.
* quiet shell error messageGravatar Joey Hess2012-12-14
|
* where indentingGravatar Joey Hess2012-11-11
|
* look for gsha* commands, as installed on some OS's that think "GNU" is ↵Gravatar Joey Hess2012-11-09
| | | | nonstandard
* don't test host in configureGravatar Joey Hess2012-10-30
| | | | That'll fail when building offline.
* SRV lookup libraryGravatar Joey Hess2012-10-25
| | | | | | | | This uses the ADNS library, if available. Otherwise, the host program. I anticipate that cabal users won't easily get hsdns installed, since it's a Haskell binding to a C library. And using host is just fine, as long as the system has it.
* configure: Check that checksum programs produce correct checksums. + bitter rantGravatar Joey Hess2012-10-25
| | | | | | | | | | | | | | So, it might be called sha1sum, or on some other OS, it might be called sha1. It might be hidden away off of PATH on that OS. That's just expected insanity; UNIX has been this way since 1980's. And these days, nobody even gives the flying flip about standards that we briefly did in the 90's after the first round of unix wars. But it's the 2010's now, and we've certainly learned something. So, let's make it so sometimes sha1 is a crazy program that wants to run as root so it can lock memory while prompting for a passphrase, and outputting binary garbage. Yes, that'd be wise. Let's package that in major Linux distros, too, so users can stumble over it.
* Test that uuid -m works, falling back to plain uuid if not.Gravatar Joey Hess2012-09-25
|
* switch from System.Cmd.Utils to System.ProcessGravatar Joey Hess2012-07-18
| | | | | | | | | | | | | | | | | | Test suite now passes with -threaded! I traced back all the hangs with -threaded to System.Cmd.Utils. It seems it's just crappy/unsafe/outdated, and should not be used. System.Process seems to be the cool new thing, so converted all the code to use it instead. In the process, --debug stopped printing commands it runs. I may try to bring that back later. Note that even SafeSystem was switched to use System.Process. Since that was a modified version of code from System.Cmd.Utils, it needed to be converted too. I also got rid of nearly all calls to forkProcess, and all calls to executeFile, which I'm also doubtful about working well with -threaded.
* better git version determinationGravatar Joey Hess2012-07-10
|
* When shaNsum commands cannot be found, use the Haskell SHA library (already ↵Gravatar Joey Hess2012-07-04
| | | | | | | | a dependency) to do the checksumming. This may be slower, but avoids portability problems. Using Crypto's version of the hashes would be another option. I need to benchmark it. The SHA2 library (which provides SHA1 also, confusing name) may be the fastest option, but is not currently in Debian.
* add lsof build depsGravatar Joey Hess2012-06-15
| | | | | Check for it in configure; and add a --force option for people without it who want to live dangerously.