RE: [Trac] Trac, Ubuntu and svn (no changeset 0)
-Original Message- From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On Behalf Of Jeff Skyrunner Il giorno sabato 25 ottobre 2014 16:35:30 UTC+2, hasienda ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25.10.2014 11:41, Jeff Skyrunner wrote: So, pretending to ignore my dumbness, could you please help me with another issue? I've commited a file in the repo, but had to manually resync the repository to see that file in the source code... shouldn't that be provided automatically by the hooks? Or am I missing (again) something very obvious? You may find the part on repo sync in TracRepositoryAdmin [1] wiki page (self-documentation as in you own Trac environments) enlightening. In short, since Trac v0.12 you'll have to install a repository- specific hook script (examples available) or opt for per-request sync. And make sure that the related option 'repository_sync_per_request' is set accordingly in you trac.ini file. Thanks for your help, Steffen, but as I've wrote in the first message, I've already set this :) In particular, I'm following this link: http://trac.edgewall.org/wiki/Ubuntu- 11.04-Subversion I've set repository_sync_per_request in a blank value and created these two scripts: /var/lib/svn/YourProject/hooks/post-commit #!/bin/sh export PYTHON_EGG_CACHE=/home/jeff/.python-eggs /usr/bin/trac-admin /var/lib/trac/YourProject changeset added $1 $2 Since you are on *nix, this could be a permissions thing. How are you serving Trac? If using apache httpd then this almost certainly runs as a different user and may well not have access to /home/jeff and/or the svn and trac folders... Mind you, I use Windoze, so YMMV... ~ Mark C and /var/lib/svn/YourProject/hooks/post-revprop-change #!/bin/sh export PYTHON_EGG_CACHE=/home/jeff/.python-eggs /usr/bin/trac-admin /var/lib/trac/YourProject changeset modified $1 $2 Then I've marked them as executable: sudo chmod +x /var/lib/svn/YourProject/hooks/post-commit sudo chmod +x /var/lib/svn/YourProject/hooks/post-revprop-change What am I doing wrong? Thanks in advance J. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracRepositoryAdmin#Synchronization http://trac.edgewall.org/wiki/TracRepositoryAdmin#Synchronization -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
Il giorno sabato 25 ottobre 2014 16:35:30 UTC+2, hasienda ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25.10.2014 11:41, Jeff Skyrunner wrote: So, pretending to ignore my dumbness, could you please help me with another issue? I've commited a file in the repo, but had to manually resync the repository to see that file in the source code... shouldn't that be provided automatically by the hooks? Or am I missing (again) something very obvious? You may find the part on repo sync in TracRepositoryAdmin [1] wiki page (self-documentation as in you own Trac environments) enlightening. In short, since Trac v0.12 you'll have to install a repository-specific hook script (examples available) or opt for per-request sync. And make sure that the related option 'repository_sync_per_request' is set accordingly in you trac.ini file. Thanks for your help, Steffen, but as I've wrote in the first message, I've already set this :) In particular, I'm following this link: http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion I've set repository_sync_per_request in a blank value and created these two scripts: /var/lib/svn/YourProject/hooks/post-commit #!/bin/sh export PYTHON_EGG_CACHE=/home/jeff/.python-eggs /usr/bin/trac-admin /var/lib/trac/YourProject changeset added $1 $2 and /var/lib/svn/YourProject/hooks/post-revprop-change #!/bin/sh export PYTHON_EGG_CACHE=/home/jeff/.python-eggs /usr/bin/trac-admin /var/lib/trac/YourProject changeset modified $1 $2 Then I've marked them as executable: sudo chmod +x /var/lib/svn/YourProject/hooks/post-commit sudo chmod +x /var/lib/svn/YourProject/hooks/post-revprop-change What am I doing wrong? Thanks in advance J. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracRepositoryAdmin#Synchronization -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlRLtRgACgkQ31DJeiZFuHfwWQCfQeD6gsPUNAKswKpQFMeHCymm O9MAniJBqDEZ8sBJaHBrAw/4JIeo73xp =Jx3I -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
Mark, please receive all my thanks! :) The problem was not only that there was nothing to show, but also that I was confusing repository and working directory, so when I tried to commit something, I was doing that in the wrong dir! So, pretending to ignore my dumbness, could you please help me with another issue? I've commited a file in the repo, but had to manually resync the repository to see that file in the source code... shouldn't that be provided automatically by the hooks? Or am I missing (again) something very obvious? Thanks again for your help and please excuse me for having used html instead of plain text. J. Il giorno giovedì 23 ottobre 2014 15:30:48 UTC+2, Cooke, Mark ha scritto: -Original Message- From: Jeff Skyrunner [mailto:jeffsk...@gmail.com javascript:] Sent: 23 October 2014 13:19 Hi there. Here are more informations: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION=Ubuntu 14.04.1 LTS Python 2.7.6 svn, version 1.8.8 (r1568071) Regarding the trac.ini (thanks for the hint, Mark, I've read that pages many times, but still haven't found any clue of my mistake), those are the relevant settings, in my opinion: repository_dir = repository_sync_per_request = repository_type = svn [components] tracopt.versioncontrol.svn.* = enabled (I've tried also to set re repository_sync_per_request=false) As said, I've set the svn repository like in this link: http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion and I've set the post- commit and post-revprop-change hooks If I try the trac-admin /var/lib/trac/YourProject repository resync * command, it says (translating from italian's version): Resyncing repository history for (default)... 0 revisions cached. Done. Ahh... Checking the log file, I've seen this: 2014-10-23 13:56:21,363 Trac[svn_fs] DEBUG: Subversion bindings imported 2014-10-23 13:56:21,379 Trac[cache] INFO: Cleaning cache 2014-10-23 13:56:21,421 Trac[cache] INFO: Resetting repository_dir: svn:29b30372-f039-4182-be65-c0aa4fea183c:/var/lib/svn/YourProject 2014-10-23 13:56:21,438 Trac[cache] DEBUG: cache metadata undefined (youngest_rev=0) 2014-10-23 13:56:21,439 Trac[cache] INFO: repos rev [0] != cached rev [None] That looks fine to me This is what I see in the /var/lib/svn/YourProject drwxr-xr-x 2 jeff root 4096 ott 16 13:12 conf drwxr-sr-x 6 jeff root 4096 ott 16 13:12 db -r--r--r-- 1 jeff root2 ott 16 13:12 format drwxr-xr-x 2 jeff root 4096 ott 16 13:22 hooks drwxr-xr-x 2 jeff root 4096 ott 16 13:12 locks -rw-r--r-- 1 jeff root 246 ott 16 13:12 README.txt If I try: svnlook history /var/lib/svn/YourProject I receive: REVISION PATH - 0 / Ahh... (again) Any idea? Maybe something wrong in svn? I know the solution will be a tiny thing I've forgotten somewhere... . I suspect that this might be an edge case that could be handled better: there is nothing in the repository to report on! Can you please commit something (anything) to the repository and try again (you can always recreate a new empty repo afterwards)? I suspect that will work (assuming your post-commit works). If it does, then we can look at how an empty repo is handled... I almost always create the trunk, tags, branches triumvirate before syncing the repo, so have not tried this before. For reference, your original error is: 6. I've clicked the Browse source button and... No changeset 0 in the repository ~ Mark C P.S. this list prefers posting in-line or at the bottom (and in plain text), if possible. Thanks in advance J. Il giorno giovedì 23 ottobre 2014 10:57:49 UTC+2, Cooke, Mark ha scritto: -Original Message- From: Jeff Skyrunner [mailto:jeffsk...@gmail.com javascript: ] Sent: 23 October 2014 08:33 Thanks Mark and Mike for your help. It would be useful to see all relevant lines in your trac.ini, there should be others. Have you any suggestion of any lines in particular or do you prefer all of it? Any lines that seem relevant to repository operation. The docs [1, depending on your version] list the contents (with descriptions) to help you decide. I mentioned one specifically in the bits you cut out (anything with `repository` is a good start). [2] also gives good information, have you read that? [1] http://trac.edgewall.org/wiki/0.12/TracIni http://trac.edgewall.org/wiki/0.12/TracIni [2] http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin Yes, we almost
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25.10.2014 11:41, Jeff Skyrunner wrote: So, pretending to ignore my dumbness, could you please help me with another issue? I've commited a file in the repo, but had to manually resync the repository to see that file in the source code... shouldn't that be provided automatically by the hooks? Or am I missing (again) something very obvious? You may find the part on repo sync in TracRepositoryAdmin [1] wiki page (self-documentation as in you own Trac environments) enlightening. In short, since Trac v0.12 you'll have to install a repository-specific hook script (examples available) or opt for per-request sync. And make sure that the related option 'repository_sync_per_request' is set accordingly in you trac.ini file. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracRepositoryAdmin#Synchronization -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlRLtRgACgkQ31DJeiZFuHfwWQCfQeD6gsPUNAKswKpQFMeHCymm O9MAniJBqDEZ8sBJaHBrAw/4JIeo73xp =Jx3I -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
RE: [Trac] Trac, Ubuntu and svn (no changeset 0)
-Original Message- From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On Behalf Of Jeff Skyrunner Sent: 22 October 2014 13:30 Good morning everybody. I've searched everywhere without finding an appropriate solution, ad I hope you can help me. 1.I've followed this guide (http://trac.edgewall.org/wiki/Ubuntu-11.04- Subversion) step by step, except the Automatic reference to the SVN changesets in Trac tickets, since for the moment I don't care about it; 2.I've made the svn update command in /var/lib/svn/YourProject (without this step svn didn't create the .svn folder) 3.I've added the line [components] tracopt.versioncontrol.svn.* = enabled in trac.ini It would be useful to see all relevant lines in your trac.ini, there should be others. 4.I've entered the admin/Repository section in trac (http://127.0.0.1:12345/YourProject/admin/versioncontrol/repository) 5.I've set the repository (default) with the /var/lib/svn/YourProject folder 6.I've clicked the Browse source button and... No changeset 0 in the repository Really I cannot imagine what can be wrong... Can anybody help me, please? I've been banging my head on the wall for 3 weeks now Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Actions in the repository happen outside of Trac's influence, so Trac needs to go look and there are two ways it does this. It can check each and every time it gets a browse request (the old way, with `repository_sync_per_request` set to true or 1) or you can get svn to prompt trac from the post-commit hook (when you can set `repository_sync_per_request` to false). In both cases, you need to get Trac up to date first. The easiest way to do this is to go to your trac environment folder and issue the command: `trac-admin . repository resync *` ...which tells Trac to synchronise the current environment with all configured repositories. You should see messages displaying increasing svn revision numbers as the scan works. If not then you have other problems. Once that is done, make sure either that `repository_sync_per_request` is true or that you have the post-commit-hook working, or Trac will not see any new changes. Many thanks in advance I hope that helps. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG bindings installed and working. Let us know if you get it working (or not) and what you have done. ~ Mark C -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
Thanks Mark and Mike for your help. It would be useful to see all relevant lines in your trac.ini, there should be others. Have you any suggestion of any lines in particular or do you prefer all of it? Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. At the moment I'm at office and do not have such informations, but I will provide it ASAP The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Yep, I forgot to mention that in my first mail; I've syncronized it via trac-admin and there were no scary messages... In 4 hours I will be back at home for lunch and provide the exact message I receive. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG bindings installed and working. How can I check this? Many thanks -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
RE: [Trac] Trac, Ubuntu and svn (no changeset 0)
-Original Message- From: Jeff Skyrunner [mailto:jeffskyrun...@gmail.com] Sent: 23 October 2014 08:33 Thanks Mark and Mike for your help. It would be useful to see all relevant lines in your trac.ini, there should be others. Have you any suggestion of any lines in particular or do you prefer all of it? Any lines that seem relevant to repository operation. The docs [1, depending on your version] list the contents (with descriptions) to help you decide. I mentioned one specifically in the bits you cut out (anything with `repository` is a good start). [2] also gives good information, have you read that? [1] http://trac.edgewall.org/wiki/0.12/TracIni [2] http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. At the moment I'm at office and do not have such informations, but I will provide it ASAP The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Yep, I forgot to mention that in my first mail; I've syncronized it via trac- admin and there were no scary messages... In 4 hours I will be back at home for lunch and provide the exact message I receive. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG bindings installed and working. How can I check this? The troubleshooting section [3] is a good place to start. [3] http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting ~ Mark C -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
Hi there. Here are more informations: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION=Ubuntu 14.04.1 LTS Python 2.7.6 svn, version 1.8.8 (r1568071) Regarding the trac.ini (thanks for the hint, Mark, I've read that pages many times, but still haven't found any clue of my mistake), those are the relevant settings, in my opinion: repository_dir = repository_sync_per_request = repository_type = svn [components] tracopt.versioncontrol.svn.* = enabled (I've tried also to set re repository_sync_per_request=false) As said, I've set the svn repository like in this link: http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion and I've set the post-commit and post-revprop-change hooks If I try the trac-admin /var/lib/trac/YourProject repository resync * command, it says (translating from italian's version): Resyncing repository history for (default)... 0 revisions cached. Done. Checking the log file, I've seen this: 2014-10-23 13:56:21,363 Trac[svn_fs] DEBUG: Subversion bindings imported 2014-10-23 13:56:21,379 Trac[cache] INFO: Cleaning cache 2014-10-23 13:56:21,421 Trac[cache] INFO: Resetting repository_dir: svn: 29b30372-f039-4182-be65-c0aa4fea183c:/var/lib/svn/YourProject 2014-10-23 13:56:21,438 Trac[cache] DEBUG: cache metadata undefined ( youngest_rev=0) 2014-10-23 13:56:21,439 Trac[cache] INFO: repos rev [0] != cached rev [None] This is what I see in the /var/lib/svn/YourProject drwxr-xr-x 2 jeff root 4096 ott 16 13:12 conf drwxr-sr-x 6 jeff root 4096 ott 16 13:12 db -r--r--r-- 1 jeff root2 ott 16 13:12 format drwxr-xr-x 2 jeff root 4096 ott 16 13:22 hooks drwxr-xr-x 2 jeff root 4096 ott 16 13:12 locks -rw-r--r-- 1 jeff root 246 ott 16 13:12 README.txt If I try: svnlook history /var/lib/svn/YourProject I receive: REVISION PATH - 0 / Any idea? Maybe something wrong in svn? I know the solution will be a tiny thing I've forgotten somewhere... . Thanks in advance J. Il giorno giovedì 23 ottobre 2014 10:57:49 UTC+2, Cooke, Mark ha scritto: -Original Message- From: Jeff Skyrunner [mailto:jeffsk...@gmail.com javascript:] Sent: 23 October 2014 08:33 Thanks Mark and Mike for your help. It would be useful to see all relevant lines in your trac.ini, there should be others. Have you any suggestion of any lines in particular or do you prefer all of it? Any lines that seem relevant to repository operation. The docs [1, depending on your version] list the contents (with descriptions) to help you decide. I mentioned one specifically in the bits you cut out (anything with `repository` is a good start). [2] also gives good information, have you read that? [1] http://trac.edgewall.org/wiki/0.12/TracIni [2] http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. At the moment I'm at office and do not have such informations, but I will provide it ASAP The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Yep, I forgot to mention that in my first mail; I've syncronized it via trac- admin and there were no scary messages... In 4 hours I will be back at home for lunch and provide the exact message I receive. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG bindings installed and working. How can I check this? The troubleshooting section [3] is a good place to start. [3] http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting ~ Mark C -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
RE: [Trac] Trac, Ubuntu and svn (no changeset 0)
-Original Message- From: Jeff Skyrunner [mailto:jeffskyrun...@gmail.com] Sent: 23 October 2014 13:19 Hi there. Here are more informations: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION=Ubuntu 14.04.1 LTS Python 2.7.6 svn, version 1.8.8 (r1568071) Regarding the trac.ini (thanks for the hint, Mark, I've read that pages many times, but still haven't found any clue of my mistake), those are the relevant settings, in my opinion: repository_dir = repository_sync_per_request = repository_type = svn [components] tracopt.versioncontrol.svn.* = enabled (I've tried also to set re repository_sync_per_request=false) As said, I've set the svn repository like in this link: http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion and I've set the post- commit and post-revprop-change hooks If I try the trac-admin /var/lib/trac/YourProject repository resync * command, it says (translating from italian's version): Resyncing repository history for (default)... 0 revisions cached. Done. Ahh... Checking the log file, I've seen this: 2014-10-23 13:56:21,363 Trac[svn_fs] DEBUG: Subversion bindings imported 2014-10-23 13:56:21,379 Trac[cache] INFO: Cleaning cache 2014-10-23 13:56:21,421 Trac[cache] INFO: Resetting repository_dir: svn:29b30372-f039-4182-be65-c0aa4fea183c:/var/lib/svn/YourProject 2014-10-23 13:56:21,438 Trac[cache] DEBUG: cache metadata undefined (youngest_rev=0) 2014-10-23 13:56:21,439 Trac[cache] INFO: repos rev [0] != cached rev [None] That looks fine to me This is what I see in the /var/lib/svn/YourProject drwxr-xr-x 2 jeff root 4096 ott 16 13:12 conf drwxr-sr-x 6 jeff root 4096 ott 16 13:12 db -r--r--r-- 1 jeff root2 ott 16 13:12 format drwxr-xr-x 2 jeff root 4096 ott 16 13:22 hooks drwxr-xr-x 2 jeff root 4096 ott 16 13:12 locks -rw-r--r-- 1 jeff root 246 ott 16 13:12 README.txt If I try: svnlook history /var/lib/svn/YourProject I receive: REVISION PATH - 0 / Ahh... (again) Any idea? Maybe something wrong in svn? I know the solution will be a tiny thing I've forgotten somewhere... . I suspect that this might be an edge case that could be handled better: there is nothing in the repository to report on! Can you please commit something (anything) to the repository and try again (you can always recreate a new empty repo afterwards)? I suspect that will work (assuming your post-commit works). If it does, then we can look at how an empty repo is handled... I almost always create the trunk, tags, branches triumvirate before syncing the repo, so have not tried this before. For reference, your original error is: 6. I've clicked the Browse source button and... No changeset 0 in the repository ~ Mark C P.S. this list prefers posting in-line or at the bottom (and in plain text), if possible. Thanks in advance J. Il giorno giovedì 23 ottobre 2014 10:57:49 UTC+2, Cooke, Mark ha scritto: -Original Message- From: Jeff Skyrunner [mailto:jeffsk...@gmail.com javascript: ] Sent: 23 October 2014 08:33 Thanks Mark and Mike for your help. It would be useful to see all relevant lines in your trac.ini, there should be others. Have you any suggestion of any lines in particular or do you prefer all of it? Any lines that seem relevant to repository operation. The docs [1, depending on your version] list the contents (with descriptions) to help you decide. I mentioned one specifically in the bits you cut out (anything with `repository` is a good start). [2] also gives good information, have you read that? [1] http://trac.edgewall.org/wiki/0.12/TracIni http://trac.edgewall.org/wiki/0.12/TracIni [2] http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin Yes, we almost certainly can. However you can help us to help you by providing more of the essential detail, such as the version of Trac you have tried to install (very important) your platform (probably Ubuntu, but which version?) and, where appropriate, all of the relevant lines from your trac.ini. At the moment I'm at office and do not have such informations, but I will provide it ASAP The short answer (as already mentioned by Mike) is that you (probably) need to synchronise Trac with your repository and keep it in sync. Yep, I forgot to mention that in my first mail; I've syncronized it via trac- admin and there were no scary messages... In 4 hours I will be back at home for lunch and provide the exact message I receive. All of the above is based on assumptions about your trac version and assumes that you have the subversion SWIG
[Trac] Trac, Ubuntu and svn (no changeset 0)
Good morning everybody. I've searched everywhere without finding an appropriate solution, ad I hope you can help me. 1. I've followed this guide ( http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion) step by step, except the Automatic reference to the SVN changesets in Trac tickets, since for the moment I don't care about it; 2. I've made the svn update command in /var/lib/svn/YourProject (without this step svn didn't create the .svn folder) 3. I've added the line [components] tracopt.versioncontrol.svn.* = enabled in trac.ini 4. I've entered the admin/Repository section in trac (http://127.0.0.1:12345/YourProject/admin/versioncontrol/repository) 5. I've set the repository (default) with the /var/lib/svn/YourProject folder 6. I've clicked the Browse source button and... No changeset 0 in the repository Really I cannot imagine what can be wrong... Can anybody help me, please? I've been banging my head on the wall for 3 weeks now Many thanks in advance -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Trac, Ubuntu and svn (no changeset 0)
On 22/10/2014 11:30 PM, Jeff Skyrunner wrote: Good morning everybody. I've searched everywhere without finding an appropriate solution, ad I hope you can help me. 1. I've followed this guide (http://trac.edgewall.org/wiki/Ubuntu-11.04-Subversion) step by step, except the Automatic reference to the SVN changesets in Trac tickets, since for the moment I don't care about it; 2. I've made the svn update command in /var/​lib/​svn/​YourProject (without this step svn didn't create the .svn folder) 3. I've added the line [components] tracopt.versioncontrol.svn.* = enabled in trac.ini 4. I've entered the admin/Repository section in trac (http://127.0.0.1:12345/YourProject/admin/versioncontrol/repository) 5. I've set the repository (default) with the /var/​lib/​svn/​YourProject folder I think you need to synchronise Trac with the repo. I'm no expert but I seem to recall doing this in the distant past. http://trac.edgewall.org/wiki/TracAdmin Further down that page are the available commands and you are looking for ... repository resync repos [rev] repository sync repos [rev] Cheers Mike 6. I've clicked the Browse source button and... No changeset 0 in the repository Really I cannot imagine what can be wrong... Can anybody help me, please? I've been banging my head on the wall for 3 weeks now Many thanks in advance -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com mailto:trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com mailto:trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.