Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #20179

Closed (moved)
Open
Opened Sep 20, 2016 by Karsten Loesing@karsten

Require absolute path for `$TARBALLTARGETDIR` in `src/main/resources/create-tarballs.sh`

The comment in src/main/resources/create-tarballs.sh says that "OUTDIR and TARBALLTARGETDIR have to be given absolute or relative to WORKDIR", but a relative path for $TARBALLTARGETDIR doesn't work anymore since that script also updates symlinks (commit 94278aa). Here's what the script is running on the main CollecTor instance with default values:

cd /srv/collector.torproject.org/collector/
ln -f -s -t archive/bridge-descriptors/statuses/ ../data/bridge-statuses-20??-??.tar.xz

That last path does not exist, so ln places a link to that non-existant path into its archive/ directory structure. So, this won't work with a path that is relative to $WORKDIR, which is required for creating tarballs. I'd say it's easiest to just require an absolute path there. At least that's how I resolved the issue on the main CollecTor instance.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
CollecTor 1.1.0
Milestone
CollecTor 1.1.0
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#20179