librelist archives

« back to archive

Where should manual snapshots be stored?

Where should manual snapshots be stored?

From:
ashbb
Date:
2010-07-25 @ 23:33
Hi all,

I revised Shoes HTML manual a little to create Sample Apps page.
(You can create HTML manula by `shoes --manual-html c:/tmp` )

The page lists built-in sample app names which link to each snapshot.

Commit is this:
http://github.com/ashbb/shoes/commit/a3c728e725923c4238a1e81b204421cf23be4833

Now I assume that all snapshots will be stored under shoes/manual-snapshots
directory on GitHub (a new directory).

Look at this line:
http://github.com/ashbb/shoes/blob/master/lib/shoes.rb#L270

Is it okay or is it better to use another place (ex. Heroku)?

Regards,
ashbb

Re: [shoes] Where should manual snapshots be stored?

From:
Devyn Cairns
Date:
2010-07-26 @ 07:55
static/manual/snapshots would probably be a more appropriate location.

On Sun, Jul 25, 2010 at 4:33 PM, ashbb <ashbbb@gmail.com> wrote:

> Hi all,
>
> I revised Shoes HTML manual a little to create Sample Apps page.
> (You can create HTML manula by `shoes --manual-html c:/tmp` )
>
> The page lists built-in sample app names which link to each snapshot.
>
> Commit is this:
> http://github.com/ashbb/shoes/commit/a3c728e725923c4238a1e81b204421cf23be4833
>
> Now I assume that all snapshots will be stored under shoes/manual-snapshots
> directory on GitHub (a new directory).
>
> Look at this line:
> http://github.com/ashbb/shoes/blob/master/lib/shoes.rb#L270
>
> Is it okay or is it better to use another place (ex. Heroku)?
>
> Regards,
> ashbb
>



-- 
    ~devyn

Re: [shoes] Where should manual snapshots be stored?

From:
ashbb
Date:
2010-07-26 @ 11:33
Devyn,

Thank you for the reply. :)

> static/manual/snapshots would probably be a more appropriate location.
Ah,... umm... I think I had to add further explanation...

These snapshots (png files) are no need for end-user. Shoes HTML manual
doesn't use your local snapshots. It'll access (link) to
shoes/manual-snapshots on github directly.

Yesterday, I thought to add a new directory on github. But also for
developer, they are no need to download evey time. So, I'm begining to think
that Heroku is better than github.

Any ideas?
ashbb

Re: [shoes] Where should manual snapshots be stored?

From:
Devyn Cairns
Date:
2010-07-28 @ 06:17
You could create an empty (see gh-pages) branch and put them there. IIRC,
that way, since they have no association to master, they won't get
downloaded.

You'll want to reset before the commit that added them, too. Otherwise
anyone who clones it will still get them, in the commit history. (remember
that Git is distributed, so you get everything that ever happened, even if
you revert. you have to reset and then force that branch to your GitHub
repo.)

On Mon, Jul 26, 2010 at 4:33 AM, ashbb <ashbbb@gmail.com> wrote:

> Devyn,
>
> Thank you for the reply. :)
>
>
> > static/manual/snapshots would probably be a more appropriate location.
> Ah,... umm... I think I had to add further explanation...
>
> These snapshots (png files) are no need for end-user. Shoes HTML manual
> doesn't use your local snapshots. It'll access (link) to
> shoes/manual-snapshots on github directly.
>
> Yesterday, I thought to add a new directory on github. But also for
> developer, they are no need to download evey time. So, I'm begining to think
> that Heroku is better than github.
>
> Any ideas?
> ashbb




-- 
    ~devyn