I´ve tried to do what you say but it doesn´t work. In my trac.ini I don´t have any part of [repositories]. I have seen that the commits after the migration are created well and in the change history part the links to the revisions are well created.
I attach a pic of my manage repository and change histyory of one of my tickets. In the trac log you see the following warning: Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect El lunes, 3 de junio de 2019, 20:51:26 (UTC+2), RjOllos escribió: > > > > On Monday, June 3, 2019 at 3:13:32 AM UTC-7, Harold Alcalde Solarte wrote: >> >> Hi everyone, >> >> Actually I work with TRAC 1.2.2 and use this plugins: >> TicketImport-0.9.0-py2.7.egg >> TracTypedTicketWorkflow-0.2-py2.7.egg >> TracXMLRPC-1.1.7dev-py2.7.egg >> TracDynamicFields-2.3.0dev-py2.7.egg >> TracWorkflowAdmin-0.12.0.4-py2.7.egg >> TracSubTicketsPlugin-0.5.4dev-py2.7.egg >> TracWysiwyg-0.12.0.7-py2.7.egg >> >> >> I made a migration from TRAC 0.11 to TRAC 1.2.2 I also made a Dump from >> the svn repository and changed from Sqlite to PostgreSQL. Everything works >> correctly (Browse source, timeline, etc.) but in the change history of the >> tickets does not refer to the revision and when I position on the rev >> number it says: "No default repository defined" >> >> This is part of my trac.ini >> >> [browser] >> color_scale = enabled >> downloadable_paths = /trunk,/branches/*,/tags/* >> hide_properties = svk:merge >> intermediate_color = >> intermediate_point = >> newest_color = (255, 136, 136) >> oldest_color = (136, 136, 255) >> oneliner_properties = trac:summary >> render_unsafe_content = disabled >> wiki_properties = trac:description >> >> [changeset] >> max_diff_bytes = 10000000 >> max_diff_files = 0 >> wiki_format_messages = enabled >> >> [components] >> dynfields.rules.* = enabled >> talm_importer.importer.* = enabled >> trac.admin.web_ui.* = enabled >> trac.versioncontrol.web_ui.browser.* = enabled >> tracopt.ticket.commit_updater.committicketreferencemacro = enabled >> tracopt.ticket.commit_updater.committicketupdater = enabled >> tracopt.ticket.deleter.ticketdeleter = enabled >> tracopt.versioncontrol.svn.* = enabled >> tracrpc.* = enabled >> tracsubtickets.api.* = enabled >> tracsubtickets.web_ui.* = enabled >> tracworkflowadmin.* = enabled >> tracwysiwyg.* = enabled >> typedworkflow.* = enabled >> >> >> [svn] >> authz_file = >> authz_module_name = >> branches = trunk,branches/* >> eol_style = native >> tags = tags/* >> >> >> [trac] >> auth_cookie_lifetime = 0 >> auth_cookie_path = >> auto_preview_timeout = 2.0 >> auto_reload = disabled >> backup_dir = db >> base_url = >> check_auth_ip = disabled >> database = postgres://postgres:postgres@localhost:5432/dbPrueba >> debug_sql = disabled >> default_charset = utf-8 >> default_date_format = iso8601 >> default_dateinfo_format = relative >> default_handler = WikiModule >> default_language = en_GB >> default_timezone = >> genshi_cache_size = 128 >> htdocs_location = >> ignore_auth_case = disabled >> jquery_location = >> jquery_ui_location = >> jquery_ui_theme_location = >> mysqldump_path = mysqldump >> never_obfuscate_mailto = disabled >> permission_policies = >> ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy >> permission_store = DefaultPermissionStore >> pg_dump_path = pg_dump >> resizable_textareas = enabled >> secure_cookies = disabled >> show_email_addresses = disabled >> show_full_names = disabled >> show_ip_addresses = disabled >> timeout = 20 >> use_base_url_for_redirect = disabled >> use_chunked_encoding = disabled >> use_xsendfile = disabled >> wiki_toolbars = enabled >> xsendfile_header = X-Sendfile >> >> >> Any suggestions what's going on? >> > > With multi-repository added in 0.12, the meaning of a changeset is > ambiguous without including the repository name in the TracLink or defining > a default repository. > https://trac.edgewall.org/wiki/TracLinks#VersionControlsystemlinks > > Assuming you have a named repository, you can add an alias in the > [repositories] section of trac.ini with the line: > > .alias = <name> > > Or, if you have defined your repositories through the web administration > page, just leaving the name blank when adding an alias. > > > > [image: Screen Shot 2019-06-03 at 11.33.54.jpg] > > > - Ryan > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b0a0057e-9371-4ce3-a21a-7abce57bb759%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
