emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: Eric Schulte <schulte.eric-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mailing-list-org-mode <emacs-orgmode-mXXj517/zsQ@public.gmane.org>
Subject: Re: Blorgit > SVN integration
Date: Fri, 20 Nov 2009 13:36:26 +0100	[thread overview]
Message-ID: <87tywpcr05.fsf@missioncriticalit.com> (raw)
In-Reply-To: <m2skcazgr6.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> (Eric Schulte's message of "Thu, 19 Nov 2009 08:17:01 -0700")

Hi Eric,

>>>> 1) Is it possible to integrate Blorgit with SVN instead of git? If yes, how
>>>>    can I do it?
>>
>> This is what I've added to blog.rb:
>>
>> diff --git a/backend/blog.rb b/backend/blog.rb
>> index 0f43728..827ec05 100644
>> [...]
>>
> Thanks, that patch looks great.  If you don't mind I'd like to apply the
> patch to the blorgit git repository on github.  Do you have a github
> user name patch which I can use for patch authorship, or could I just
> use your name and email address?

Of course, I'll be happy to contribute. I just created a fresh account on
github (user name: fpz). Is this that you need? If not, you can use my name
but prefer this email address: francesco.pizzolante-Re5JQEeQqe9fmgfxC/sS/w@public.gmane.org Thanks.


>> One little question: is it possible to add a comment field when editing a
>> file through the web interface and use that comment as the log when
>> checking in the file in the repository?
>>
>
> That behavior is not currently part of blorgit, but it shouldn't be hard
> to add.  See lines 241 through 247 of blorgit.rb which are responsible
> for rendering the edit page.  It shouldn't be hard to add a comment
> field, and then later access that field when committing to SVN/GIT.

I will have a look at this soon.


>>>> 3) I would like to add a .pdf link (next to edit .org .tex) in order to
>>>>    download the PDF coming from the compilation (pdflatex) of the .tex
>>>>    file. Is it possible?
>>>
>>> Yes, this should certainly be possible (and please let me know if you
>>> succeed and I would like to add that change to the main repo).  See line
>>> 70 in backend/acts_as_org/lib/acts_as_org.rb, it should be fairly
>>> straight forward to create a to_pdf command similar to the to_tex
>>> command defined therein.
>>
>> Here's what I did for this.
>>
>> [...]
> Would it be possible to push the "dot removal" behavior into the shell
> script.  That way the files could be re-hidden behind a dot after the
> pdf export has finished.

That's an idea. I'll have a look.


> Also, rather than using a shell script, would it be possible to use the
> built in `org-export-as-pdf' function.  This may obviate the need for a
> shell script at all.  In this case you probably wouldn't need to remove
> the leading "." in the file names, and if you did, it could be done in
> elisp right around export with the `rename-file' function.

I went the shell script way because I already had a shell script for the pdf
part (with several iterations to get the references right). I will have a look
at your proposition and see if I can make it work the emacs way too...


Thanks.

Talk to you soon.

Francesco


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2009-11-20 12:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13 15:47 Blorgit > SVN integration Francesco Pizzolante
2009-11-13 17:45 ` Eric Schulte
     [not found]   ` <m2r5s2gvyc.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-11-19 10:06     ` Francesco Pizzolante
2009-11-19 15:17       ` Eric Schulte
     [not found]         ` <m2skcazgr6.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-11-20 12:36           ` Francesco Pizzolante [this message]
2009-11-20 17:15             ` Eric Schulte
2009-11-23 12:58           ` Blorgit > Adding PDF export Francesco Pizzolante
2009-11-23 14:43             ` Eric Schulte
     [not found]               ` <m2ljhxi9oi.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-11-23 15:23                 ` Francesco Pizzolante
2009-11-23 15:38                   ` Eric Schulte
2009-12-03 15:59           ` Blorgit > SVN integration Francesco Pizzolante
2009-12-05  3:54             ` Eric Schulte
     [not found]               ` <m27ht23wj2.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-07 12:33                 ` Francesco Pizzolante

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87tywpcr05.fsf@missioncriticalit.com \
    --to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    --cc=schulte.eric-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).