Địa chỉ email được ẩn danh với nhóm này hoặc bạn cần có quyền xem địa chỉ email của thành viên để có thể xem được bài viết gốc
đến Trac Users
Hi, is there any result code or documentation of trac-admin? It seems that it does not send result codes.
I have a cronjob doing the "changeset added" every 5 minutes after synchronizing git. If Trac returns errors in this while I need to buffer the changesets in order to retry later. But I can't see a way to check if "trac-admin changeset added" was successful.
Best regards, Mo
Peter Suter
chưa đọc,
14:02:06 17 thg 1, 201717/1/17
Trả lời tác giả
Hãy đăng nhập để trả lời tác giả
Chuyển tiếp
Hãy đăng nhập để chuyển tiếp
Xoá
Bạn không có quyền xóa bài viết trong nhóm này
Sao chép đường liên kết
Báo cáo bài viết
Đăng nhập để báo cáo bài viết
Hiển thị bài viết gốc
Địa chỉ email được ẩn danh với nhóm này hoặc bạn cần có quyền xem địa chỉ email của thành viên để có thể xem được bài viết gốc
But "trac-admin env changeset added WRONG WRONG" prints "Repository
'WRONG' not found", while also setting the error level to 0.
Indeed there's no attempt to return anything indicating the printed
error here:
https://trac.edgewall.org/browser/trunk/trac/versioncontrol/admin.py?rev=15259&marks=96,97#L91 Also the errors are printed to stdout, not sterr.
Sounds like a bug (or missing feature) to me.