I have a file on a perforce depot and when I am updating it with an automated script I want to find all the workspaces mapping the file (with a p4 command) and send emails to the owners of these workspaces (file is containing the latest view spec of a project and the recipients of the email should get notifications so they can update their view spec too )
is there a way to find all the perforce workspaces which are mapping a certain file in the depot?
390 views Asked by Hani_l At
1
There are 1 answers
Related Questions in MAPPING
- Hospital route finding ai project
- ImportError: cannot import name 'Mapping' from 'collections' (E:\Anaconda\envs\nlp\Lib\collections\__init__.py)
- How to exclude a weaved property from an entity in Spring Data?
- 2D affine mapping using scipy
- In Mapstruct, how to ignore null objects and fields
- org.hibernate.persister.entity.SingleTableEntityPersister
- Mapping unnormalized database into graph
- Changes not saving in Python and Excel
- Map non-boolean vector with text vector in Excel
- Performing PACE PIN authentication using C# and nfc card : Chip Authentication with ECDH
- entityListToResponseModelList unable to find mapped target properties, resulting in null results
- Elasticsearch reindexing - missing child mapping
- Is a full reindex required after adding a new field to Opensearch mapping? (Searchkick)
- GIS Layers into Google Maps Search
- Using Mapperly Library for Custom Constructor Mapping C#
Related Questions in PERFORCE
- How to check file content in a python script being run in a perforce trigger?
- P4 change ownership through command line
- Suppress change-submit trigger while executing form-in trigger in Perforce Helix Core using Java APIs
- Perforce: copy folder/files to local without p4root
- p4 resolved File status
- Perforce trigger script not found
- Integrating a single file that was renamed in a source stream to the target stream
- Perforce error when starting up Helix P4V
- Why P4python describe command doesn't return diff contents
- How do you add an AltRoot for Windows using `p4 client` non-interactively?
- How do I fix the Helix Swarm config so it pings the correct hostname
- P4Vs pop up unacessible when opening visual studio
- Detecting renames in perforce
- Perforce swarm reviews allow you to diff between shelf updates. Is there a way to pull a specific revision?
- p4 - How to make one directory in depot exactly match another?
Related Questions in WORKSPACE
- Power BI Automations of Audits and APIs
- I cant figure out how to pull scripts from s3 to my aws workspace
- Salesforce Lightning Workspace API
- Feature Request: Enumeration of issues with Workspace Trust "Do you trust the authors of the file in this folder?"
- Unable to add members to Google Workspace Group
- yarn monorepo not downloading other package's dependencies
- Xcode add dependencies to "Project" OR "Target" (difference?)
- How to establish a connection between 2 folders in different workspaces in Control-M?
- Why i am getting this error message in AWS workspace creation if i have created the bundle?
- "File 'LoginPageProperties.json' not found" error in Amazon WorkSpaces login page
- load .mat file, but not on the workspace
- Blackberry Workspaces
- How do I get a new file to open in a new workspace instead of being added to an existing workspace
- Python Terminal Not running single python files but running from folders / workspaces In Visual Studio Code
- Accidentally deleted local branches after changing the workspace in VS Code
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Providing that none of the workspaces you want to look at are using the 'Host' field, you can run:
p4 -c have
to get a list of all files that are synced on the client.
Note this would first involve you getting a list of all workspaces on the server, by running:
p4 clients
Also this may be quite resource intensive, if your server has a lot of clients that sync a lot of files, so I would recommend using something like the Perforce Review Daemon or Perforce Swarm for code review and notification.
More details about these are available here:
http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.scripting.html
http://www.perforce.com/collaboration
Hope this helps, Jen.