mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 17:15:49 +03:00
[GH-ISSUE #1430] [Feature Request] Export and import protobuf Rules #1424
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jjmean2 on GitHub (Nov 10, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1430
Originally assigned to: @NghiaTranUIT on GitHub.
Description
Proxyman can export and import settings for other kinds of rules such as scripting, breakpoint, ... but cannot export and import protobuf rules.
It would be great if it can export and import protobuf rules from one proxyman instance to other.
Why this feature/change is important?
I make lots of protobuf rules, because I need one rule per every single API call. And it's not trivial work to make all set of rules for entire API call. So I want to share them with my colleagues, not to let them go through same process.
I'm not sure about the flow of this feature, because I think protobuf rules require the same protobuf schema to work. Maybe it could be export and import bundle of protobuf schema and selected rules together? But it would be good if it can export and import only rules without protobuf schema, too.
Thanks for reading!
@mattijsf commented on GitHub (Dec 21, 2022):
I would love this too!
For the time being you could consider sharing the content of:
Which is just json. This works as long as the schema definitions are added on both ends.
@NghiaTranUIT commented on GitHub (Dec 22, 2022):
Thanks for letting me know. I'm going to implement it on the next release (3.15.0) 👍
@jjmean2 commented on GitHub (Dec 22, 2022):
@mattijsf
Oh, I didn't know that. Thanks for the information!
@NghiaTranUIT
Thanks! I appreciate it.
@NghiaTranUIT commented on GitHub (Dec 24, 2022):
@jjmean2 @mattijsf let's try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.14.0_Import_Export_Protobuf_Setting.dmg
We can import/export Protobuf Rules 👍 However, it doesn't automatically export Desc files. You have to import it manually.
@mattijsf commented on GitHub (Dec 25, 2022):
Thanks for this quick addition! 👍
Some feedback:
More > Export Settings...I assumed it was exporting the entire list.Message Typeis missing from the list itself. Maybe with a little warning icon in the Message Type column. Currently you'll have to navigate to the detail page to find out. This is not really related to importing but does make it more likely to cause confusion when rules are not working.Minor things which don't necessarily need fixing. Other than that, it just works. Awesome.
@jjmean2 commented on GitHub (Dec 26, 2022):
It works! Thanks for your work.
@NghiaTranUIT commented on GitHub (Dec 27, 2022):
Thanks for the feedback @mattijsf
It's the default behavior with other tools too. Able to export the selected rules. Thus, I would like to make it consistent.
Noted.
It makes sense. I'm working on it now 👍
@NghiaTranUIT commented on GitHub (Dec 27, 2022):
@mattijsf I've added the warning icon if the schema is missing. Here is the Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.14.0_Show_missing_protobuf_files.dmg
@mattijsf commented on GitHub (Dec 27, 2022):
Got it.
Just tried it. Works great! Thank you 👍