all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: guix-devel@gnu.org
Subject: Re: Ruby on Rails (web-application framework) (and the wip-rails branch)
Date: Mon, 05 Feb 2018 22:34:31 +0000	[thread overview]
Message-ID: <87d11jf4lk.fsf@cbaines.net> (raw)
In-Reply-To: <5734dd01-8e58-b7ad-5d7c-5df01a9abbc2@uq.edu.au>

[-- Attachment #1: Type: text/plain, Size: 3539 bytes --]


Ben Woodcroft <b.woodcroft@uq.edu.au> writes:
> On 31/01/18 05:50, Christopher Baines wrote:
>> I think it would be good to see these packages in the master branch, and
>> would be up for trying to help towards this. Ben, do you have any
>> thoughts on the wip-rails branch?
>
> My main thought is thank you very much for digging this up. After we
> update the descriptions, synopses and lint each package, would you say
> that they are suitable for inclusion in master? It may be a good idea
> also to run an automated license checker to verify the copylefts.

I don't see any reason why we can't get these changes in to master, if
we neaten them up a bit. I'd definately like to see these packages in
master.

> The biggest issue I came across while creating the original package
> definitions was circular dependencies, AFAIR these issues were mainly
> solved by disabling tests in strategic packages. While I haven't tested
> this, my impression is that sometimes a packages was added to the
> wip-rails branch that did not end up being in the dependency graph of
> rails. If these packages are not useful in their own right e.g. if they
> are not maintained, then I think we should not bother to add them to
> Guix proper.
>
>> One way of working on this would be to get commits in that branch ready
>> to merge, either by just checking over the commits adding a single
>> package, or pulling a package out of the big commit at the head of the
>> branch [3]. Then once commits are ready, merge them in to master, and
>> rebase the branch.
>>
>> 3: https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-rails&id=9a46eda7ee40f305692c4af8880eec4efc61102d
>>
>> Does anyone have any recommendations of methodologies to follow, or want
>> to volunteer time to prepare and review commits?
>
> My idea would be to write a generalised 'add-packages-to-git' Guile
> script which takes the current state of that branch, adds each package
> into git separately, and then uses the dependency graph to reorder the
> commits appropriately.
>
> The commit message for adding a package is quite straightforward - I
> myself already use a little script to automate the process [0] for
> single packages.
>
> I think that a script of this kind would be quite useful outside this
> effort too - WDYT?
>
> ben
>
>
> [0]: https://github.com/wwood/bbbin/blob/master/guix-add.rb

The script does look useful, but I was on the train coming back from
FOSDEM today, and didn't have an internet connection, so I passed some
of the time by splitting the big commit up in to individual package
commits.

I removed the rails-wip file at the same time, and added things to the
ruby or rails modules. I also merged in the changes I made, which are a
mixture of updates and disabling test suites in to the commits adding
the respective package.

I've pushed these commits (there are now ~125) to a new branch,
wip-rails-2 [1].

I'm tempted to try and continue with a manual approach, as I think it
will be necessary to go through and check and lint each package in turn,
and if that is done by checking out the individual commits, then that
will detect any ordering issues (where dependencies are missing as they
are added in later commits).

The commits are mostly missing the changelog, as I think it might be
good to try and move some of the packages out of the ruby module if
appropriate.

Like the wip-rails branch, this new branch seems to be in a state that
I'm able to run a Rails application with it :)

1: http://git.cbaines.net/guix/log/?h=wip-rails-2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

  reply	other threads:[~2018-02-05 22:34 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-30 19:50 Ruby on Rails (web-application framework) (and the wip-rails branch) Christopher Baines
2018-01-31  0:19 ` Ben Woodcroft
2018-02-05 22:34   ` Christopher Baines [this message]
2018-02-07  3:34     ` Ben Woodcroft
2018-02-07  8:30       ` Christopher Baines
2018-02-08  2:02         ` Ben Woodcroft
2018-03-03 20:55 ` [PATCH] Ruby on Rails (web-application framework) Christopher Baines
2018-03-03 21:02   ` [bug#30689] [PATCH 01/10] gnu: Add ruby-asciimath Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 02/10] gnu: Add ruby-asciidoctor Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 03/10] gnu: Add ruby-rack-test Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 04/10] gnu: Add ruby-rack-protection Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 05/10] gnu: Add ruby-contest Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 06/10] gnu: Add ruby-creole Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 07/10] gnu: Add ruby-sporkmonger-rack-mount Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 08/10] gnu: Add ruby-erubis Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 09/10] gnu: Add ruby-rake Christopher Baines
2018-03-03 21:03     ` [bug#30689] [PATCH 10/10] gnu: Add ruby-ruby-engine Christopher Baines
2018-03-03 21:13   ` [PATCH] Ruby on Rails (web-application framework) Gábor Boskovits
2018-03-03 21:13     ` [bug#30689] " Gábor Boskovits
2018-03-03 21:48     ` Christopher Baines
2018-03-05  9:22   ` [bug#30689] " Ludovic Courtès
2018-03-05 19:20     ` Christopher Baines
2018-03-06 10:26       ` Ludovic Courtès
2018-03-18 18:53   ` [bug#30689] Ruby on Rails Christopher Baines
2018-12-21 20:46   ` swedebugia
2019-01-28 17:28   ` [bug#30689] [PATCH 00/39] Add ruby-rails and depedencies Christopher Baines
2019-01-28 17:35     ` [bug#30689] [PATCH 01/39] gnu: Add ruby-maruku Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 02/39] gnu: ruby-minitest: Update to 5.11.3 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 03/39] gnu: Add ruby-minitest-reporters Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 04/39] gnu: ruby-public-suffix: Enable tests Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 05/39] gnu: Add ruby-idn-ruby Christopher Baines
2019-02-03 23:07         ` Björn Höfling
2019-02-08 20:01           ` Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 06/39] gnu: ruby-addressable: Enable tests and update Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 07/39] gnu: Add ruby_version Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 08/39] gnu: Add ruby-mysql2 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 09/39] gnu: Add ruby-bump Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 10/39] gnu: ruby-activesupport: Update to 5.2.2 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 11/39] gnu: Add ruby-activemodel Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 12/39] gnu: ruby-arel: Update to 9.0.0 Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 13/39] gnu: Add ruby-activerecord Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 14/39] gnu: Add ruby-rspec-rerun Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 15/39] gnu: ruby-parallel: Begin to enable tests and update version Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 16/39] gnu: Add ruby-prawn-manual-builder Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 17/39] gnu: ruby-prawn-table: Begin to enable tests Christopher Baines
2019-01-28 17:35       ` [bug#30689] [PATCH 18/39] gnu: Add ruby-faraday Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 19/39] gnu: Add ruby-rr Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 20/39] gnu: Add ruby-crass Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 21/39] gnu: Add ruby-loofah Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 22/39] gnu: Add ruby-rails-html-sanitizer Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 23/39] gnu: Add ruby-rails-dom-testing Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 24/39] gnu: Add ruby-erubi Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 25/39] gnu: Add ruby-actionview Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 26/39] gnu: Add ruby-actionpack Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 27/39] gnu: Add ruby-websocket-extensions Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 28/39] gnu: Add ruby-websocket-driver Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 29/39] gnu: Add ruby-nio4r Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 30/39] gnu: Add ruby-actioncable Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 31/39] gnu: Add ruby-globalid Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 32/39] gnu: Add ruby-activejob Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 33/39] gnu: Add ruby-actionmailer Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 34/39] gnu: Add ruby-railties Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 35/39] gnu: Add ruby-sprockets Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 36/39] gnu: Add ruby-sprockets-rails Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 37/39] gnu: Add ruby-marcel Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 38/39] gnu: Add ruby-activestorage Christopher Baines
2019-01-28 17:36       ` [bug#30689] [PATCH 39/39] gnu: Add ruby-rails Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d11jf4lk.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.