Template Haskell in cabal-install

2009-12-20 Thread Mikhail Glushenkov
Hi, Would it be worthwile to reimplement Distribution/Client/Init/Licenses.hs using a TH macro that parses and loads license files at compile time? IIUC, currently one has to use a Perl script to add new licenses. Pros: easier to add new licenses Cons: dependency on TH -- () ascii ribbon

Re: Automatic package reconfiguration and ConfigExFlags

2012-08-16 Thread Mikhail Glushenkov
Hi, On Tue, Aug 14, 2012 at 12:29 AM, Thomas Tuegel ttue...@gmail.com wrote: ConfigExFlags affect dependency resolution during configuration, so automatic reconfiguration that ignores them may silently and unexpectedly change how the package is linked. I'm concerned this could

Re: New cabal-install release (and schedule) needed

2012-08-27 Thread Mikhail Glushenkov
Hi Bryan, On Mon, Aug 27, 2012 at 7:27 AM, Bryan O'Sullivan b...@serpentine.com wrote: [...] Does this sound reasonable? +1 from me. One question: why freeze both master and stable instead of only stable? -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against

Re: New cabal-install release (and schedule) needed

2012-08-27 Thread Mikhail Glushenkov
Hi, On Mon, Aug 27, 2012 at 6:08 PM, Bryan O'Sullivan b...@serpentine.com wrote: On Mon, Aug 27, 2012 at 8:30 AM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: One question: why freeze both master and stable instead of only stable? I should have been clearer, sorry. At release

Re: Agreeing on a UI for sandboxes

2012-08-31 Thread Mikhail Glushenkov
Hi, On Wed, Aug 29, 2012 at 1:45 AM, Johan Tibell johan.tib...@gmail.com wrote: Perhaps a separate command, cabal init-sandbox, would be the best approach. Running that command would create the right package environment for running in a sandbox and the remaining commands would then use that

Re: Agreeing on a UI for sandboxes

2012-08-31 Thread Mikhail Glushenkov
Hi, On Fri, Aug 31, 2012 at 8:25 PM, Johan Tibell johan.tib...@gmail.com wrote: Let's have sandbox-init not take any configure arguments. It should just mark that the current repo should use a sandbox until sandbox-delete is run. It'll still be a bit confusing: $ cabal sandbox-init $ cabal

Re: Agreeing on a UI for sandboxes

2012-08-31 Thread Mikhail Glushenkov
Hi, On Fri, Aug 31, 2012 at 9:27 PM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: Here's an idea: as a compromise we can have cabal build imply reb-building and installing only add-source dependencies. This means nothing has to be downloaded from the internet. Lets not worry about

Re: Agreeing on a UI for sandboxes

2012-09-01 Thread Mikhail Glushenkov
Hi, On Fri, Aug 31, 2012 at 11:43 PM, Johan Tibell johan.tib...@gmail.com wrote: Why does `cabal install` affect the saved configure flags? Does it do that today even if you don't use the new sandbox stuff? It doesn't have to affect the package environment file, but otherwise you'll need to

Re: Agreeing on a UI for sandboxes

2012-09-03 Thread Mikhail Glushenkov
Hi Johan, On Mon, Sep 3, 2012 at 2:04 AM, Johan Tibell johan.tib...@gmail.com wrote: In general lets just have sandboxes behave exactly as non-sandbox builds, with the exception of the separate package DB and rebuilding add-source deps, for now. This will get something useful into users'

Re: Agreeing on a UI for sandboxes

2012-09-03 Thread Mikhail Glushenkov
Hi Johan, On Mon, Sep 3, 2012 at 6:10 PM, Johan Tibell johan.tib...@gmail.com wrote: That's true. However, I don't think we should install dependencies at sandbox initialization time, but at build time and hence build will have to take configure flags. Sure, this would work fine too.

Re: Agreeing on a UI for sandboxes

2012-09-04 Thread Mikhail Glushenkov
Hi, On Tue, Sep 4, 2012 at 12:52 AM, Johan Tibell johan.tib...@gmail.com wrote: On Mon, Sep 3, 2012 at 12:50 PM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: -It's just that I had a version using install already working. It'll take me a bit more time to make it use configure/build

Re: Agreeing on a UI for sandboxes

2012-09-04 Thread Mikhail Glushenkov
Hi, On Wed, Sep 5, 2012 at 12:38 AM, Johan Tibell johan.tib...@gmail.com wrote: On Tue, Sep 4, 2012 at 2:17 PM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: I looked more closely into this, and it seems like the easiest solution is a --no-download flag for install. It can

Re: testing cabal-install-0.25.2 with ghc-7.6.1

2012-09-14 Thread Mikhail Glushenkov
Jens Petersen juhp at community.haskell.org writes: Hi, I managed to build cabal-install-0.25.2 (from the cabal-1.16 branch) with ghc-7.6.1 Cabal. However the use of viewAsFieldDescr in cabal-install/Distribution/Client/Config.hs causes problems due to the: error

Re: Output of cabal sandbox commands

2012-10-15 Thread Mikhail Glushenkov
Hi Johan, On Tue, Oct 16, 2012 at 5:27 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi, If we're going to be using sandboxes extensively (I think we should!) having each command output the sandbox location is a bit much. Perhaps make this line: Using a sandbox located at

Re: Output of cabal sandbox commands

2012-10-16 Thread Mikhail Glushenkov
Hi Johan, On Tue, Oct 16, 2012 at 6:44 AM, Johan Tibell johan.tib...@gmail.com wrote: While a bit shorter, it's still a bit much I think. How about we only try it at higher verbosity levels and if users find it confusing we output it by default? OK, let's do it your way. -- () ascii

Re: Providing a smooth default user experience

2012-10-31 Thread Mikhail Glushenkov
Hi Johan, On Wed, Oct 31, 2012 at 6:22 PM, Johan Tibell johan.tib...@gmail.com wrote: cabal build should imply cabal install --only-dependencies +1 The Nix solution is being worked on, as part of GSoC Is it still being worked on? I thought that the development stalled after the GSoC period

Re: Providing a smooth default user experience

2012-11-02 Thread Mikhail Glushenkov
Hi, On Fri, Nov 2, 2012 at 10:48 AM, Björn Peemöller b...@informatik.uni-kiel.de wrote: So, if I'm not missing something, it may also be comfortable to add a cabal ghci command which tells ghci about cabal's configuration. There was a cabal repl GSoC project last year. The patches haven't

Re: Status of cabal repl

2012-11-07 Thread Mikhail Glushenkov
Hi, On Thu, Nov 8, 2012 at 5:36 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi Duncan, I'm trying to finalize the list of things to include in Cabal/cabal-install 1.18, which I hope to push out by the end of this year. What's the current status of the cabal repl work? Is it close enough

Re: Integrating tools with Cabal

2012-11-08 Thread Mikhail Glushenkov
Hi, On Fri, Nov 9, 2012 at 8:06 AM, Roman Cheplyaka r...@ro-che.info wrote: Hi, Suppose I have some kind of analysis tool that I want to run on a Cabal project. The analysis tool only deals with Haskell files, so I need Cabal to generate Haskell files from CPP-enabled Haskell files, .hsc

Re: Integrating tools with Cabal

2012-11-09 Thread Mikhail Glushenkov
Hi Roman, On Fri, Nov 9, 2012 at 9:10 AM, Roman Cheplyaka r...@ro-che.info wrote: Thanks for the suggestion. Is the protocol between Cabal and ghc described anywhere, or do I need to read the sources for that? No, I don't think that it's documented separately. The code is not very

Re: Integrating tools with Cabal

2012-11-09 Thread Mikhail Glushenkov
Hi, On Fri, Nov 9, 2012 at 6:25 PM, Roman Cheplyaka r...@ro-che.info wrote: searching for ld in path. found ld at /usr/bin/ld (/home/feuerbach/bin/gen-iface,[-c,/tmp/17368.c,-o,/tmp/17368.o]) (/usr/bin/ld,[-x,-r,/tmp/17368.o,-o,/tmp/17369.o]) /usr/bin/ld returned ExitFailure 1

Re: Status of cabal repl

2012-11-09 Thread Mikhail Glushenkov
Hi Duncan, On Fri, Nov 9, 2012 at 7:42 PM, Duncan Coutts duncan.cou...@googlemail.com wrote: I'm reasonably happy with working on this part myself. It's the main cabal hacking I'm doing right now. At a guess I'd say another few weeks. Great news! So I guess we can put out a release

Reinstalling a package + all its reverse dependencies

2012-11-15 Thread Mikhail Glushenkov
Hi all, While working on #1105 (Rebuild source directories added to the sandbox), I encountered a problem: there is no way to reinstall a bunch of packages + all their reverse dependencies. Right now when you run sandbox-build it does the following (see the cabal-sandbox branch in my repo [1]):

Re: Reinstalling a package + all its reverse dependencies

2012-11-17 Thread Mikhail Glushenkov
On Fri, Nov 16, 2012 at 12:06 AM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: To solve this, I propose adding an option '--only-dependencies-of=TARGET' that would work like '--only-dependencies', but only remove TARGET from the install plan (see adjustOnlyDependencies

Re: Providing a smooth default user experience

2012-11-29 Thread Mikhail Glushenkov
Hi, On Thu, Nov 29, 2012 at 3:45 PM, Simon Hengel s...@typeful.net wrote: So personally I think it is a better approach to first release the feature, and give people time to try whether there use case are covered. The idea is to put out a release candidate some time before the final release

Re: Adding tests for cabal-install

2012-12-31 Thread Mikhail Glushenkov
Hi, On Mon, Dec 31, 2012 at 3:56 PM, Johan Tibell johan.tib...@gmail.com wrote: Hi, Splitting out a library from cabal-install have been a goal for a long time. I don't know if we want to just expose every module that's there today or if we'd like to think a bit more about the API first.

Re: Adding tests for cabal-install

2012-12-31 Thread Mikhail Glushenkov
Hi Johan, On Tue, Jan 1, 2013 at 7:33 AM, Johan Tibell johan.tib...@gmail.com wrote: The test-suite section can mention the modules directly if we accept some recompilation. Correct, but I want to avoid unnecessary recompilation (as I said in my first message). If we're willing to accept it,

Re: cabal install --only

2013-03-15 Thread Mikhail Glushenkov
Hi, On Fri, Mar 15, 2013 at 8:14 AM, Andres Löh and...@well-typed.com wrote: No, please do not remove it. Running install without --only causes all sorts of things to happen, because install is the magic command. The --only flag is for use after you have already run build and really only does

Re: cabal install --only

2013-03-15 Thread Mikhail Glushenkov
Hi Duncan, On Fri, Mar 15, 2013 at 4:46 PM, Duncan Coutts duncan.cou...@googlemail.com wrote: So what would a proper UI look like here? [...] Thanks, this makes sense. The build and install commands should work in a make-like fashion in that they have to be able to discover/check which

Re: hackage trac

2013-04-04 Thread Mikhail Glushenkov
Hi Ben, On Wed, Apr 3, 2013 at 4:11 AM, Ben Millwood hask...@benmachine.co.uk wrote: Hi everyone, I've finished moving most of the Trac wiki pages on Cabal to the new github wiki. Thanks for doing all that work! -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org -

Re: Cabal sandbox and rebuild of added sources

2013-04-08 Thread Mikhail Glushenkov
Hi, On Sun, Apr 7, 2013 at 10:05 PM, Daniel Trstenjak daniel.trsten...@gmail.com wrote: If the source added by 'cabal sandbox-add-source' changes, than it gets rebuild by calling 'cabal sandbox-build', but not if I'm just calling 'cabal sandbox-install'. Is there a reason for this behavior?

Re: darcs patch: Add a new checkout Command (and 1 more)

2013-07-20 Thread Mikhail Glushenkov
Hi, On Sat, Jul 20, 2013 at 5:24 PM, Joachim Breitner m...@joachim-breitner.de wrote: Hi, after Iain reminded me of my lightning talk at the Ghent Hackathon about it I noticed that I had just sent that patch and then forgot about it: Am Sonntag, den 07.11.2010, 12:45 +0100 schrieb Joachim

Re: Gearing up for a 1.18 release

2013-08-06 Thread Mikhail Glushenkov
Hi Roman, On Tue, Aug 6, 2013 at 10:42 AM, Roman Cheplyaka r...@ro-che.info wrote: Cabal's policy is to support being built by versions of GHC that are up to 3 years old. That would be 6.12.3, released 12 June 2010. Cabal with the patch indeed builds on 6.12.3; however, cabal-install fails to

Re: Gearing up for a 1.18 release

2013-08-09 Thread Mikhail Glushenkov
Hi Johan, On Thu, Aug 8, 2013 at 9:39 PM, Johan Tibell johan.tib...@gmail.com wrote: I'd like to get this out before the end of my vacation, so in the next two weeks. Any objections to go with the current content of the master branch? I'd also like to see #1404 (cabal repl) included in 1.18.

Re: Gearing up for a 1.18 release

2013-08-14 Thread Mikhail Glushenkov
Hi Johan, On Tue, Aug 6, 2013 at 8:37 AM, Johan Tibell johan.tib...@gmail.com wrote: Are there any fixes that absolutely must make it in before a 1.18 release? Remember, this release is already long overdue and there will be more frequent releases in the future so lets not try to cram in

Re: Gearing up for a 1.18 release

2013-08-20 Thread Mikhail Glushenkov
Hi Johan, On Mon, Aug 19, 2013 at 11:02 PM, Johan Tibell johan.tib...@gmail.com wrote: What's the status of this? 'cabal repl' seems to work fine with sandboxes. The backwards compat patch for #1214 is not yet done (I'm on it). Other than that, the documentation update is the only thing left to

Re: Gearing up for a 1.18 release

2013-08-23 Thread Mikhail Glushenkov
Hi Johan, On Tue, Aug 20, 2013 at 10:26 AM, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: Hi Johan, On Mon, Aug 19, 2013 at 11:02 PM, Johan Tibell johan.tib...@gmail.com wrote: What's the status of this? Fixes for the two remaining release blockers: https://github.com/haskell

Re: Cabal/cabal-install 1.18 RC2

2013-08-29 Thread Mikhail Glushenkov
Hi, On Thu, Aug 29, 2013 at 4:40 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi, I've prepared another RC, including some fixes. This one is based on 9f374ab45e62924506b992db9157c970c7259a03 on the master branch. If we don't see any problems with this RC the next few days, I'll release it

Re: What's next?

2013-09-04 Thread Mikhail Glushenkov
Hi Johan, On Thu, Sep 5, 2013 at 6:14 AM, Johan Tibell johan.tib...@gmail.com wrote: * Build modules in parallel. This fine granularity would let us making building a single package faster, which is the most common case after all. There has been some GSoC work here e.g.

Re: What's next?

2013-09-05 Thread Mikhail Glushenkov
Hi Simon, On Thu, Sep 5, 2013 at 9:15 AM, Simon Peyton-Jones simo...@microsoft.com wrote: Can I ask what the Cabal team's position is with respect to the question of allowing the same package to be installed several times, each compiled against a different collection of dependencies? I

Re: How can I get SSH access to www.haskell.org to upload the Cabal user guide?

2013-09-06 Thread Mikhail Glushenkov
Hi Johan, On Sat, Sep 7, 2013 at 12:09 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi all, Who manages www.haskell.org? Where's the machine? How can I get an SSH account so I can upload the Cabal user guide for the Cabal version I just released? BTW, can we move the Cabal website sources

Re: How can I get SSH access to www.haskell.org to upload the Cabal user guide?

2013-09-07 Thread Mikhail Glushenkov
Hi, On Sat, Sep 7, 2013 at 7:31 AM, Johan Tibell johan.tib...@gmail.com wrote: The sources (.md) files are already on GitHub. Only for the user guide, not for the website itself (e.g. the frontpage of haskell.org/cabal or http://www.haskell.org/cabal/download.html ). -- () ascii ribbon

Re: Keeping the cabal website in the git repo

2013-09-08 Thread Mikhail Glushenkov
Hi, On Sun, Sep 8, 2013 at 7:49 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi all, While the sources of some of the documentation is already in git, much of the website (http://www.haskell.org/cabal/) isn't. I suggest we check it in under a website/ directory, next to the Cabal and

Re: Feature Idea: --no-remote-fetching flag

2013-10-08 Thread Mikhail Glushenkov
Hi Adam, On Tue, Oct 8, 2013 at 6:46 PM, Adam Foltzer acfolt...@gmail.com wrote: I'd be willing to explore implementing this myself, if it would be appropriate for a first-time cabal hacker. I'm also quite interested to hear whether this would be a useful feature for others, or other ways you

Re: cabal-install-1.18 on GHC-6.12

2013-10-27 Thread Mikhail Glushenkov
Hi, On Sun, Oct 27, 2013 at 9:50 PM, Henning Thielemann lemm...@henning-thielemann.de wrote: I am trying to compile cabal-install-1.18.0.2 on GHC-6.12.1. It aborts with: ... [12 of 73] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs,

Re: cabal-install-1.18 on GHC-6.12

2013-10-28 Thread Mikhail Glushenkov
Hi, On Mon, Oct 28, 2013 at 9:52 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: On Mon, 28 Oct 2013, Johan Tibell wrote: This is my fault. I don't know if it's worth another Cabal release to fix it though. 6.12 is more than 3 years old now. I have three (remote) machines

Re: Compiling with --enable-shared --disable-library-vanilla

2013-11-07 Thread Mikhail Glushenkov
Hi Peter, On Thu, Nov 7, 2013 at 10:49 AM, Peter Simons sim...@cryp.to wrote: Hi guys, I'm experimenting with shared library support for Haskell in NixOS. So far, --enable-shared works great, but it comes at the cost of doubling the build times. So I tried to disable building of static

Re: sandbox hashcode in dist directory

2013-11-10 Thread Mikhail Glushenkov
Hi, On Sun, Nov 10, 2013 at 11:26 PM, Tim Docker t...@dockerz.net wrote: However since starting to use cabal sandboxes, the generated code ends up in a directory like this: dist/dist-sandbox-c4c8b1d4/build/autogen/ What is this hashcode for? Is it always generated when using a sandbox?

Re: Request to release cabal-install 1.18.0.3 (Was: 2013.4.0.0 proposal

2013-11-10 Thread Mikhail Glushenkov
Hi, On Mon, Nov 11, 2013 at 3:50 AM, shelarcy shela...@gmail.com wrote: 2. cabal update command broke package index sometimes. https://twitter.com/xyx_is/status/391944129074044929 (in Japanese) Do you have a reference to the commit in which that was fixed? -- () ascii ribbon campaign

Re: Should we aim for a new release in late January?

2013-11-28 Thread Mikhail Glushenkov
On Thu, Nov 28, 2013 at 12:41 PM, Simon Peyton-Jones simo...@microsoft.com wrote: I’m thrilled that there so much Cabal activity! Is anyone working on, or interested in, the issue of compiling and installing the same package against different dependencies? (There was a Google SoC project

Re: Should we aim for a new release in late January?

2013-12-19 Thread Mikhail Glushenkov
Hi Johan, On Thu, Dec 19, 2013 at 12:42 PM, Johan Tibell johan.tib...@gmail.com wrote: [...] Any major outstanding bugs that need to be fixed before the release? No, I don't think so. I'm using HEAD and it works absolutely fine. -- () ascii ribbon campaign - against html e-mail /\

Re: Hackage Travis build failures

2014-02-16 Thread Mikhail Glushenkov
Hi, On 16 February 2014 10:33, Ian Ross i...@skybluetrades.net wrote: Does anyone have any idea what the source of the intermittent Travis failures for Hackage is? Cabal builds on Travis sometimes error out because of network connectivity problems. Example:

Re: Hackage Travis build failures

2014-02-16 Thread Mikhail Glushenkov
Hi, On 16 February 2014 19:48, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: There was a blog post by Travis about the mysterious connectivity issues. They have introduced the retry command because of it. You might want to use it. Thanks, I've enabled this for the Cabal repo.

Re: Haddock fails with Module defined in multiple files

2014-03-03 Thread Mikhail Glushenkov
Hi, On 4 March 2014 07:20, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: I don't follow the changes in cabal (even though I should) so it might be something really obvious that changed recently that we aren't aware of. Can this be related to https://github.com/haskell/cabal/pull/1374 ? I

Re: module 'free-4.6.1:Main' is defined in multiple files

2014-03-24 Thread Mikhail Glushenkov
Hi, On 24 March 2014 18:54, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: PS: How does one go about downgrading Cabal and cabal-install? If we wanted to check whether cabal is the problem, how? You can force the Cabal lib version to use (in case you have multiple versions installed) with

Re: module 'free-4.6.1:Main' is defined in multiple files

2014-03-24 Thread Mikhail Glushenkov
Hi, On 24 March 2014 22:33, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 24/03/14 21:26, Mikhail Glushenkov wrote: Hi, On 24 March 2014 18:54, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: PS: How does one go about downgrading Cabal and cabal-install? If we wanted to check

Re: Bug on lhs files

2014-03-26 Thread Mikhail Glushenkov
Hi, On 26 March 2014 11:18, Pierre-Étienne Meunier pierre-etienne.meun...@lif.univ-mrs.fr wrote: Hi, There is a bug in cabal haddock, when lines in an lhs file start with a $, which is quite common when writing a paper with large TeX fragments in the programs. Can you please file an issue

Re: [PATCH] Bootstrap over HTTPS.

2014-04-01 Thread Mikhail Glushenkov
Hi, 2014-04-01 19:22 GMT+02:00 Nikita Karetnikov nik...@karetnikov.org: Can you please do a pull request on GitHub: https://github.com/haskell/cabal/pulls ? ___ cabal-devel mailing list cabal-devel@haskell.org

Re: cabal-install: Replacing HTTP with HTTPS

2014-04-04 Thread Mikhail Glushenkov
On 3 April 2014 17:38, Bryan O'Sullivan b...@serpentine.com wrote: Presumably that's the problem. We'd have a possibly zero amount of end-to-end security, coupled with a possibly zero amount of trust in the remote endpoint, but we have 20 years of human factors experience demonstrating that

Re: GenericPackageDescription and 'build-depends' field

2014-04-09 Thread Mikhail Glushenkov
Hi, On 9 April 2014 15:13, Daniel Trstenjak daniel.trsten...@gmail.com wrote: Hi all, am I right, that the 'build-depends' field of the cabal file is now always represented by 'condTreeConstraints' in 'CondTree'? So is the 'targetBuildDepends' in 'BuildInfo' now only available for

Re: Planning to make 1.20 release in about one week

2014-04-09 Thread Mikhail Glushenkov
Hi, On 10 April 2014 00:57, Sergei Trofimovich sly...@gmail.com wrote: On Wed, 9 Apr 2014 23:43:32 +0200 Johan Tibell johan.tib...@gmail.com wrote: Could you try to `git bisect` it down to the failing commit? Sure [CCed Daniel] commit 73dd1c261a62a546774bb732026ddcfc1245bd8b Author:

Re: [PATCH] Bootstrap over HTTPS.

2014-04-10 Thread Mikhail Glushenkov
Applied, thanks! ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: GenericPackageDescription and 'build-depends' field

2014-04-24 Thread Mikhail Glushenkov
Hi, On 21 April 2014 13:47, Daniel Trstenjak daniel.trsten...@gmail.com wrote: On Thu, Apr 10, 2014 at 03:10:32AM +0200, Mikhail Glushenkov wrote: IIRC it's what condtrees get simplified to after finalizePackageDescription. What's the reason for this? Condtrees represent conditional blocks

Re: Proposal: cabal-install: verify OpenPGP signatures

2014-05-01 Thread Mikhail Glushenkov
Hi, On 30 April 2014 01:15, Nikita Karetnikov nik...@karetnikov.org wrote: Following up on the “cabal-install: Replacing HTTP with HTTPS” thread. I think we can do better. I want to make sure that people will notice if someone compromises the packages on hackage.haskell.org. [...] I believe

Re: Proposal: cabal-install: verify OpenPGP signatures

2014-05-03 Thread Mikhail Glushenkov
Hi, On 3 May 2014 02:31, Nikita Karetnikov nik...@karetnikov.org wrote: I’ve been told off-list that relying on external tools (such as GPG) may be problematic. Is it the case? And if so, could you elaborate? Yes, we want to make cabal-install as self-contained as possible, since it makes

Re: Windows executable for just released cabal-install-1.20.0.1 needed

2014-05-03 Thread Mikhail Glushenkov
​​​ cabal-1.20.0.1.exehttps://docs.google.com/file/d/0B-gmfQNqT8Htc2Q0REJFS2o3NTA/edit?usp=drive_web ​Hi, On 4 May 2014 02:25, Johan Tibell johan.tib...@gmail.com wrote: Hi, It's that time again. 1.20.0.1 is out and I want to put a Windows executable for download on the Hackage website.

Re: Windows executable for just released cabal-install-1.20.0.1 needed

2014-05-04 Thread Mikhail Glushenkov
Hi, On 4 May 2014 10:57, Johan Tibell johan.tib...@gmail.com wrote: We can also provide a Linux executable, but I don't quite know how portable an executable would be if I build it on e.g. some specific version of Ubuntu? Attaching a Linux exe (32-bit). 12.04 LTS is two years old (older than

Re: cabal-install-1.20.0.2 binaries needed for Windows and Linux

2014-05-29 Thread Mikhail Glushenkov
Hi, On 29 May 2014 20:09, Johan Tibell johan.tib...@gmail.com wrote: Hi all, There's some important bug fixes in Cabal-1.20.0.1 and cabal-install-1.20.0.2 and I'd like to upload some binaries to make it easier for users to upgrade. Could someone build me a Windows binary? We could also use

Re: Any more bug fixes for the next cabal-install 1.20 release?

2014-06-24 Thread Mikhail Glushenkov
Hi Johan, On 24 June 2014 21:55, Johan Tibell johan.tib...@gmail.com wrote: This is what I have so far: [...] a46df9dbfe14df0df60c8cc401221c4128ad675e Remove an unnecessary 'createDirectoryIfMissing' call. (cherry picked from commit 5c46e7853a09a484698064824b7bf72c5c761993) Sorry, it looks

Re: Any more bug fixes for the next cabal-install 1.20 release?

2014-06-24 Thread Mikhail Glushenkov
Hi, On 24 June 2014 22:35, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: Hi Johan, On 24 June 2014 21:55, Johan Tibell johan.tib...@gmail.com wrote: This is what I have so far: [...] a46df9dbfe14df0df60c8cc401221c4128ad675e Remove an unnecessary 'createDirectoryIfMissing' call

Re: Any more bug fixes for the next cabal-install 1.20 release?

2014-06-24 Thread Mikhail Glushenkov
Hi, On 24 June 2014 23:13, Johan Tibell johan.tib...@gmail.com wrote: Fixed the 1.20 branch. Please revert in master yourself. Already done. ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: Removing GHC's dependency on Cabal

2014-07-24 Thread Mikhail Glushenkov
Hi, On 24 July 2014 15:56, Edward Z. Yang ezy...@mit.edu wrote: We were wondering if there was any reason to prefer the former situation over the latter. One answer might be that Cabal is less keen to have a dependency on a very GHC specific library (although the ghc-pkg dependency is quite a

Re: Removing GHC's dependency on Cabal

2014-07-24 Thread Mikhail Glushenkov
Hi, On 24 July 2014 16:07, Joachim Breitner m...@joachim-breitner.de wrote: So while Duncan’s Proposal has no such dependency, in Simon’s proposal there is one. Will ghc-db’s interface be stable enough that the Cabal developers will be happy to build against a very old version of it? Cabal's

Re: [PATCH] Change 'whenCacheOutOfDate' to use '' again.

2014-07-25 Thread Mikhail Glushenkov
Hi, On 25 July 2014 15:44, Nikita Karetnikov nik...@karetnikov.org wrote: I believe this doesn’t affect #1443 anymore. Why? Have you tested this patch ? ___ cabal-devel mailing list cabal-devel@haskell.org

Re: [PATCH] Change 'whenCacheOutOfDate' to use '' again.

2014-07-25 Thread Mikhail Glushenkov
Hi, On 25 July 2014 19:21, Nikita Karetnikov nik...@karetnikov.org wrote: Do you have a better testcase? Why does ‘whenCacheOutOfDate’ run the action on ‘=’ in the first place? If the cache file has the same modification time as the original, it means that the cache is up-to-date, no? OK,

Re: [PATCH] Print a more friendly message when http_proxy is down.

2014-07-25 Thread Mikhail Glushenkov
Hi, On 26 July 2014 00:20, Nikita Karetnikov nik...@karetnikov.org wrote: An attempt to fix #1962. I think the exception comes from ‘connect’ in ‘Network.Socket’. Perhaps it's better to solve this in HTTP itself? It gives decent error messages in other cases: $ export HTTP_PROXY=foo $ cabal

Re: [PATCH] Print a more friendly message when http_proxy is down.

2014-07-26 Thread Mikhail Glushenkov
Hi, On 26 July 2014 08:55, Nikita Karetnikov nik...@karetnikov.org wrote: What version of network is it? I ran ‘grep -r “host lookup failure”’ on the source of 2.5.0.0 and didn’t find anything. $ cabal sandbox hc-pkg list | grep network network-2.5.0.0 It probably uses perror or

Re: Fw: cabal-install-latest is not pointing to latest release

2014-07-28 Thread Mikhail Glushenkov
Hi, On 24 July 2014 11:41, Johan Tibell johan.tib...@gmail.com wrote: Hi, We don't have any binary builds of 1.20.0.3 so I thought it better to point to a release where we have such. If someone can provide me with a windows build (.tar.gz containing exe please, built using latest

Re: Fw: cabal-install-latest is not pointing to latest release

2014-07-29 Thread Mikhail Glushenkov
Hi, On 29 July 2014 09:44, Johan Tibell johan.tib...@gmail.com wrote: Uploaded, thanks! I've also built the (32-bit) Linux binary. ​ cabal-1.20.0.3-i386-unknown-linux.tar.gz https://docs.google.com/file/d/0B-gmfQNqT8Hta3ExNzlUWnVqM3M/edit?usp=drive_web ​

Re: HEADS UP: Running cabal install with the latest GHC

2014-08-13 Thread Mikhail Glushenkov
Hi, On 13 August 2014 16:22, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: End of the year, I think. Correction: https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.10.1 says February 2015. ___ cabal-devel mailing list cabal-devel@haskell.org

Re: add an x86_64 linux build for cabal-install on the binaries site?

2014-09-23 Thread Mikhail Glushenkov
Hi, On 23 September 2014 05:47, Carter Schonwald carter.schonw...@gmail.com wrote: Hey All, http://www.haskell.org/cabal/download.html current lacks an x86_64 linux build, and while most linux distros DO provide a relatively recent cabal-install, might be good to make that available, it is

Re: tweaks to cabal-install bootstrap.sh

2014-09-28 Thread Mikhail Glushenkov
Hi, On 28 September 2014 17:14, Jake Wheat jakewheatm...@gmail.com wrote: [...] Is it possible to put these changes into the main cabal repo? Sure, please send us a pull request. ___ cabal-devel mailing list cabal-devel@haskell.org

Re: New fields/flags and semantics for GHCJS

2014-10-28 Thread Mikhail Glushenkov
Hi, On 28 October 2014 21:00, Luite Stegeman stege...@gmail.com wrote: Hi all, I've been maintaining a Cabal fork for GHCJS. The GHCJS-specific bits have been relatively stable for a while now, and are feature complete, apart from a few small features that I'll complete later this week. So

Re: improving commandline documentation/help

2014-10-30 Thread Mikhail Glushenkov
Hi, On 30 October 2014 16:22, lennart spitzner l...@informatik.uni-kiel.de wrote: hello cabal devs, i am willing to put a bit of time into improving the help texts of cabal-install. some questions: 1) nobody else is working on this, right? is there risk that it interferes with other's

Re: Where to put these flags?

2014-11-02 Thread Mikhail Glushenkov
Hi, On 2 November 2014 12:26, Sven Heyll sven.he...@gmail.com wrote: a) extend global flags? b) extend only ConfigExFlags? (which means users cannot cross-compile without explicitly calling 'configure', OTOH users can set these values in cabal config file) c) continue to add a set

Re: feedback for changes to the commandline documentation/help, please

2014-11-18 Thread Mikhail Glushenkov
Hi, On 18 November 2014 00:31, lennart spitzner l...@informatik.uni-kiel.de wrote: https://gist.github.com/lspitzner/36321a9f074cb9b897ac Looks good after a cursory review. Regarding your questions: does cabal freeze really overwrite any existing cabal.config? Not sure (I don't use 'freeze'

Re: Ready to make release candidates for 1.18 and 1.20 bugfix releases

2014-12-03 Thread Mikhail Glushenkov
Hi, On 3 December 2014 at 17:51, Johan Tibell johan.tib...@gmail.com wrote: Hi! I believe I have merged all the fixes people wanted to see in 1.18 and 1.20. We probably also want to include a fix for https://github.com/haskell/cabal/issues/2207 I'll write a patch unless someone beats me to

Re: Linker change in GHC 7.8 leads to widespread issues

2014-12-03 Thread Mikhail Glushenkov
Hi, On 2 December 2014 at 22:06, Bryan O'Sullivan b...@serpentine.com wrote: Hi folks, It seems that something somewhere in linker-land changed in GHC 7.8 such that packages that include C components now need to be built with position-independent code on some platforms. I've now fixed this

Re: Ready to make release candidates for 1.18 and 1.20 bugfix releases

2014-12-03 Thread Mikhail Glushenkov
Hi, On 3 December 2014 at 18:04, Mikhail Glushenkov the.dead.shall.r...@gmail.com wrote: We probably also want to include a fix for https://github.com/haskell/cabal/issues/2207 I'll write a patch unless someone beats me to it. This is now fixed both in HEAD and in 1.20/1.18

Re: Linker change in GHC 7.8 leads to widespread issues

2014-12-03 Thread Mikhail Glushenkov
Hi, On 4 December 2014 at 00:44, Bryan O'Sullivan b...@serpentine.com wrote: Thanks, Mikhail! Does this imply that package authors can simply advise bug reporters to upgrade cabal-install? Yes, once the new point releases of Cabal/cabal-install are out (in a week or two, according to Johan).

Re: Linker change in GHC 7.8 leads to widespread issues

2014-12-04 Thread Mikhail Glushenkov
Hi, On 4 December 2014 at 09:45, Joachim Breitner m...@joachim-breitner.de wrote: is the bug in Cabal or cabal-install? It's in Cabal. So once the new point releases are out, the users will need to run `cabal install cabal-install --constraint=Cabal 1.20.0.2`.

Re: Linker change in GHC 7.8 leads to widespread issues

2014-12-05 Thread Mikhail Glushenkov
Hi, On 4 December 2014 at 17:50, Joachim Breitner m...@joachim-breitner.de wrote: in this case, can we get a fixed Cabal in 7.8.4? This is up to whoever manages the release at GHC HQ, which I guess means Austin. ___ cabal-devel mailing list

Re: Please test: release candidates for Cabal/cabal-install patch releases on the 1.18 and 1.20 branches

2014-12-12 Thread Mikhail Glushenkov
Hi Johan, I pushed a very minor fix to 1.18/1.20. Would be nice to have it included in the release. ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: Cabal 1.22 RC ready to test

2015-01-02 Thread Mikhail Glushenkov
Hi, On 3 January 2015 at 03:36, Johan Tibell johan.tib...@gmail.com wrote: If I don't hear anything the next few days I will make the release. The test suite doesn't compile with GHC HEAD on Travis. ___ cabal-devel mailing list cabal-devel@haskell.org

Re: Call for 1.22 binaries

2015-01-04 Thread Mikhail Glushenkov
Hi, On 5 January 2015 at 00:26, Johan Tibell johan.tib...@gmail.com wrote: Hi, As per usual I need help building binaries (to put on haskell.org) for the release. In particular I need binaries for Windows and Linux. Attaching the Linux binary.​ cabal-1.22.0.0-i386-unknown-linux.tar.gz

Re: Call for 1.22 binaries

2015-01-05 Thread Mikhail Glushenkov
​​Hi, On 5 January 2015 at 00:26, Johan Tibell johan.tib...@gmail.com wrote: Hi, As per usual I need help building binaries (to put on haskell.org) for the release. In particular I need binaries for Windows and Linux. And here's the Windows binary. ​ cabal-1.22.0.0-i386-unknown-mingw32.exe

Re: Call for 1.22 binaries

2015-01-09 Thread Mikhail Glushenkov
Hi, On 5 January 2015 at 16:48, Johan Tibell johan.tib...@gmail.com wrote: Linux, Windows, and OS X binaries uploaded. BTW, if we're going to compress the Windows binary, it's better to use .zip since Windows doesn't support .tar.gz by default. ___

Re: Please review: new wiki page with release instructions

2015-03-17 Thread Mikhail Glushenkov
Hi, On 17 March 2015 at 16:15, Thomas Tuegel ttue...@gmail.com wrote: Otherwise, please alert me if you have any blocking issues; AFAIK there are none at this time. There are two test cases that are failing with 7.10, but fixing them will probably only require changes to the tests themselves.

Re: Cabal and cabal-install minor release (1.22.2.0)

2015-03-22 Thread Mikhail Glushenkov
Hi, On 22 March 2015 at 00:49, Miëtek Bak mie...@bak.io wrote: Thanks, Ryan. Binaries of cabal-install 1.22.2.0 are now available in Halcyon on the following platforms: [...] That's quite impressive! Have you considered adding Windows support? Our release process could use some

Re: Please review: new wiki page with release instructions

2015-03-17 Thread Mikhail Glushenkov
Hi Johan, On 16 March 2015 at 08:14, Johan Tibell johan.tib...@gmail.com wrote: [...] https://github.com/haskell/cabal/wiki/Making-a-release Looks OK, thanks for doing this. ___ cabal-devel mailing list cabal-devel@haskell.org

  1   2   >